internal static string TryRemoveLongPathPrefix(string path, out bool removed) { removed = Path.HasLongPathPrefix(path); if (!removed) { return(path); } return(Path.RemoveLongPathPrefix(path)); }
internal static String TryRemoveLongPathPrefix(String path, out bool removed) { Contract.Requires(path != null); removed = Path.HasLongPathPrefix(path); if (!removed) { return(path); } return(Path.RemoveLongPathPrefix(path)); }