/// <summary> /// Matches the string representation of <see cref="FileOrDirectoryArtifact"/> used by the fingerprint store /// when serializing to JSON. /// </summary> private string ArtifactToPrint(FileOrDirectoryArtifact artifact) { return(Expander.ExpandPath(Context.PathTable, artifact.Path).ToLowerInvariant().Replace(@"\", @"\\")); }