public override bool Equals(object obj) { VirtualNode other = obj as VirtualNode; if (other != null) { return(Path == other.Path); } else { return(false); } }
public static VirtualNode ParseNativePath(string nativePath) { nativePath = PathHelper.NormalizePath(path: nativePath); VirtualNode result = null; foreach (FileSystemSubsystem subsystem in Subsystems) { result = subsystem.ParseNativePath(nativePath); if (result != null) { break; } } return(result); }