public static string GetParentPathSafe(string path) { return RepositoryPath.GetParentPath(path); } [Obsolete("Use RepositoryPath.GetFileNameSafe(string) instead", true)]