private void DeleteInsteadOfRename() { if (!_oldFullPath.StartsWithIgnoreCase(_rootDirectory)) { return; } _entries.DeleteDirectory(PathHelper.MakeRelative(_rootDirectory, _fullPath)); }
public void Apply() { if (!_fullPath.StartsWithIgnoreCase(_rootDirectory)) { return; } var relativePath = PathHelper.MakeRelative(_rootDirectory, _fullPath); _entries.DeleteDirectory(relativePath); }