VFSFilePath.md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core

VFSFilePath Class

Represents a file system entry in the virtual file system. A file is a first-class citizen in the virtual file system.

public record VFSFilePath : Atypical.VirtualFileSystem.Core.VFSPath, System.IEquatable<Atypical.VirtualFileSystem.Core.VFSFilePath>

Inheritance System.Object ๐Ÿก’ VFSPath ๐Ÿก’ VFSFilePath

Implements System.IEquatable<VFSFilePath>

Constructors
VFSFilePath(string)Initializes a new instance of the VFSFilePath class. The file path is relative to the root of the virtual file system.
Methods
ToString()Returns a string that represents the current object. The file path is relative to the root of the virtual file system.
Operators
implicit operator VFSFilePath(string)Implicit conversion from string. This allows you to use a string as a VFSFilePath.
implicit operator string(VFSFilePath)Implicit conversion to string This allows you to use a VFSFilePath as a string.