mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-17 23:04:22 +01:00
Added support for scanning transitive dependencies for .NET libraries (except those with unlimited set of supported TMFs).
This commit is contained in:
@@ -67,4 +67,12 @@ package object controllers {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts profile name (used in .NET) to a valid HTML classname.
|
||||
*/
|
||||
def profileClass(s: String): String = "profile-"+s.flatMap{
|
||||
case c if c.isLetterOrDigit && c < 128 => c.toString
|
||||
case other => s"_${other.toHexString}_"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user