PathUtils class

Shared path-normalization helpers used across audits and reporters.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

relativeToRoot(String filePath, String rootPath) String
Converts an absolute file path to one relative to rootPath, with forward slashes regardless of host OS — matching how paths are referenced in Dart source, ignore/baseline config, and JSON/SARIF output.