Safely renames a file without throwing exceptions.
public static bool TryRenameFile(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.
System.Boolean
True if the file was renamed successfully, false otherwise.