Renames a directory and returns a Result indicating success or failure.
public static Atypical.VirtualFileSystem.Core.Result RenameDirectoryResult(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.
Result
A Result indicating success or containing an error message.