Skip to content

NormalizePath Method ​

Definition ​

  • Namespace: JASE.TestAnalysis
  • Assembly: JASE.TestAnalysis.dll

string NormalizePath(string path) ​

csharp
string NormalizePath(string path)

Normalizes a file path for comparison with change maps and BuildLineKey.

Parameters ​

NameDescription
pathThe raw path; may be or whitespace.

Returns ​

A trimmed path with backslashes replaced by forward slashes, or Empty when path is null or whitespace.