Safely renames a directory without throwing exceptions.
public static bool TryRenameDirectory(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string directoryPath, string newName);The virtual file system.
directoryPath System.String
The directory path as a string.
newName System.String
The new directory name.
System.Boolean
True if the directory was renamed successfully, false otherwise.