Class
FileSystem
class FileSystem
Module: System.Storage
Assembly: System.Runtime.dll
Source file: FileSystem.rvn
Inheritance: Object → FileSystem
Implements: StorageProvider
A synchronous host-filesystem implementation of StorageProvider.
Remarks
Development after Preview 9. Maps logical paths beneath a configured native root; this is not a symlink-safe sandbox. Returns File and Directory interfaces backed by internal implementation classes. Construction performs no I/O. Relative native roots use the host working directory. Lookup observes current state and does not retain content handles. See the provider guide.
Constructors
1 item
FileSystem(root: string)
Creates a provider mapping logical addresses beneath a native root.
Methods
7 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetDirectory(path: Path) -> Result<Directory, StorageLookupError>
Resolves a logical address to the Directory interface.
Implements StorageProvider.GetDirectory
GetFile(path: Path) -> Result<File, StorageLookupError>
Resolves a logical address to the File interface.
Implements StorageProvider.GetFile
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetItem(path: Path) -> Result<StorageItem, StorageLookupError>
Resolves a logical address to the StorageItem interface.
Implements StorageProvider.GetItem
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString