IVFSRename.RenameFile(VFSFilePath,string).md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.Contracts.IVFSRename

IVFSRename.RenameFile(VFSFilePath, string) Method

Renames a file node at the specified path. The path must be absolute.

Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem RenameFile(Atypical.VirtualFileSystem.Core.VFSFilePath filePath, string newName);

Parameters

filePath VFSFilePath

The path of the file node.

newName System.String

The new name of the file node.

Returns

IVirtualFileSystem
The file system.