You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/VirtualFileSystem.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,14 @@
47
47
-**[Root](VFS.Root.md'Atypical.VirtualFileSystem.Core.VFS.Root')**`Property` Gets the root directory of the file system.
48
48
This is the entry point for all operations on the file system.
49
49
-**[RootPath](VFS.RootPath.md'Atypical.VirtualFileSystem.Core.VFS.RootPath')**`Property` Gets the path of the root directory.
50
+
-**[CreateDirectory(VFSDirectoryPath)](VFS.CreateDirectory(VFSDirectoryPath).md'Atypical.VirtualFileSystem.Core.VFS.CreateDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath)')**`Method` Creates a directory node at the specified path.
51
+
The path must be absolute.
52
+
-**[CreateFile(VFSFilePath, string)](VFS.CreateFile(VFSFilePath,string).md'Atypical.VirtualFileSystem.Core.VFS.CreateFile(Atypical.VirtualFileSystem.Core.VFSFilePath, string)')**`Method` Creates a file node at the specified path.
53
+
The path must be absolute.
54
+
-**[DeleteDirectory(VFSDirectoryPath)](VFS.DeleteDirectory(VFSDirectoryPath).md'Atypical.VirtualFileSystem.Core.VFS.DeleteDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath)')**`Method` Deletes a directory node at the specified path.
55
+
The path must be absolute.
56
+
-**[DeleteFile(VFSFilePath)](VFS.DeleteFile(VFSFilePath).md'Atypical.VirtualFileSystem.Core.VFS.DeleteFile(Atypical.VirtualFileSystem.Core.VFSFilePath)')**`Method` Deletes a file node at the specified path.
57
+
The path must be absolute.
50
58
-**[FindDirectories(Func<IDirectoryNode,bool>)](VFS.FindDirectories(Func_IDirectoryNode,bool_).md'Atypical.VirtualFileSystem.Core.VFS.FindDirectories(System.Func<Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode,bool>)')**`Method` Finds all directory nodes that match the specified predicate.
51
59
-**[FindDirectories(Regex)](VFS.FindDirectories(Regex).md'Atypical.VirtualFileSystem.Core.VFS.FindDirectories(System.Text.RegularExpressions.Regex)')**`Method` Finds all directory nodes that match the specified regular expression.
52
60
The regular expression must be relative to the root directory.
@@ -57,7 +65,12 @@
57
65
-**[GetFile(VFSFilePath)](VFS.GetFile(VFSFilePath).md'Atypical.VirtualFileSystem.Core.VFS.GetFile(Atypical.VirtualFileSystem.Core.VFSFilePath)')**`Method` Gets a file node by its path.
58
66
The path must be absolute.
59
67
-**[GetTree()](VFS.GetTree().md'Atypical.VirtualFileSystem.Core.VFS.GetTree()')**`Method` Gets the tree of the file system.
68
+
-**[MoveDirectory(VFSDirectoryPath, VFSDirectoryPath)](VFS.MoveDirectory(VFSDirectoryPath,VFSDirectoryPath).md'Atypical.VirtualFileSystem.Core.VFS.MoveDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath, Atypical.VirtualFileSystem.Core.VFSDirectoryPath)')**`Method` Moves a directory from one location to another.
69
+
-**[MoveFile(VFSFilePath, VFSFilePath)](VFS.MoveFile(VFSFilePath,VFSFilePath).md'Atypical.VirtualFileSystem.Core.VFS.MoveFile(Atypical.VirtualFileSystem.Core.VFSFilePath, Atypical.VirtualFileSystem.Core.VFSFilePath)')**`Method` Moves a file node from the source path to the destination path.
70
+
Both paths must be absolute.
60
71
-**[RenameDirectory(VFSDirectoryPath, string)](VFS.RenameDirectory(VFSDirectoryPath,string).md'Atypical.VirtualFileSystem.Core.VFS.RenameDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath, string)')**`Method` Renames a directory.
72
+
-**[RenameFile(VFSFilePath, string)](VFS.RenameFile(VFSFilePath,string).md'Atypical.VirtualFileSystem.Core.VFS.RenameFile(Atypical.VirtualFileSystem.Core.VFSFilePath, string)')**`Method` Renames a file node at the specified path.
73
+
The path must be absolute.
61
74
-**[ToString()](VFS.ToString().md'Atypical.VirtualFileSystem.Core.VFS.ToString()')**`Method` Returns a string that represents the current object.
62
75
-**[TryGetDirectory(VFSDirectoryPath, IDirectoryNode)](VFS.TryGetDirectory(VFSDirectoryPath,IDirectoryNode).md'Atypical.VirtualFileSystem.Core.VFS.TryGetDirectory(Atypical.VirtualFileSystem.Core.VFSDirectoryPath, Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode)')**`Method` Try to get a directory node by its path.
0 commit comments