mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
Revert "Merge branch 'rename-existing-folder' into develop"
This reverts commita340bc4da3, reversing changes made to4be7772d53.
This commit is contained in:
@@ -64,11 +64,6 @@ namespace NzbDrone.Common.Extensions
|
||||
return childPath.Substring(parentPath.Length).Trim(Path.DirectorySeparatorChar);
|
||||
}
|
||||
|
||||
public static string GetRelativePathWithoutChildCheck(this string parentPath, string childPath)
|
||||
{
|
||||
return childPath.Substring(parentPath.Length).Trim(Path.DirectorySeparatorChar);
|
||||
}
|
||||
|
||||
public static string GetParentPath(this string childPath)
|
||||
{
|
||||
var parentPath = childPath.TrimEnd('\\', '/');
|
||||
|
||||
Reference in New Issue
Block a user