Member group
GetDirectory
Declaring type: Directory
Module: System.Storage
Assembly: System.Runtime.dll
Source file: StorageItems.rvn
Overloads / Variants
GetDirectory
abstract virtual func GetDirectory(name: string) -> Result<Directory, StorageLookupError>
Source file: StorageItems.rvn
Defined by Directory.GetDirectory · Required implementation (no default).
Interface implementation: Required implementation (no default).
Looks up one direct child directory.
Parameters
| Name | Type | Description |
|---|---|---|
name |
String | One valid child name; nested strings and dot/parent names return InvalidPath. |
Return value
Result<Directory, StorageLookupError>
A Directory or the provider lookup error.
GetDirectory
abstract virtual func GetDirectory(relativePath: Path) -> Result<Directory, StorageLookupError>
Source file: StorageItems.rvn
Defined by Directory.GetDirectory · Required implementation (no default).
Interface implementation: Required implementation (no default).
Looks up a directory by a relative logical path.
Parameters
| Name | Type | Description |
|---|---|---|
relativePath |
Path | Relative path allowing nested segments; absolute inputs return InvalidPath and dot resolves this directory. |
Return value
Result<Directory, StorageLookupError>
A Directory or StorageLookupError.