IVFSRename.RenameDirectory(VFSDirectoryPath,string).md
January 20, 2026 ยท View on GitHub
Atypical.VirtualFileSystem.Core
Atypical.VirtualFileSystem.Core.Contracts.IVFSRename
IVFSRename.RenameDirectory(VFSDirectoryPath, string) Method
Renames a directory node at the specified path. The path must be absolute.
Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem RenameDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath directoryPath, string newDir);
Parameters
directoryPath VFSDirectoryPath
The path of the directory node.
newDir System.String
The new name of the directory node.
Returns
IVirtualFileSystem
The file system.