Represents a node in a virtual file system. A node can be a file or a directory.
public abstract record VFSNode : Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystemNode, System.IEquatable<Atypical.VirtualFileSystem.Core.VFSNode>Inheritance System.Object 🡒 VFSNode
Derived
↳ DirectoryNode
↳ FileNode
Implements IVirtualFileSystemNode, System.IEquatable<VFSNode>
| Constructors | |
|---|---|
| VFSNode(VFSPath) | Initializes a new instance of the VFSNode class. This constructor is used by derived classes. |
| Properties | |
|---|---|
| CreationTime | Gets the creation time of the node. |
| IsDirectory | Indicates whether the node is a directory. |
| IsFile | Indicates whether the node is a file. |
| LastAccessTime | Gets the last access time of the node. |
| LastWriteTime | Gets the last write time of the node. |
| Path | Gets the creation time of the node. |
| Methods | |
|---|---|
| UpdatePath(VFSPath) | Updates the path of the node. |