Renames a file and returns a Result indicating success or failure.
public static Atypical.VirtualFileSystem.Core.Result RenameFileResult(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string filePath, string newName);The virtual file system.
filePath System.String
The file path as a string.
newName System.String
The new file name.
Result
A Result indicating success or containing an error message.