WasiDirectoryEntry Struct
An entry of a directory, returned by WasiFileSystem.EnumerateDirectory.
public readonly struct WasiDirectoryEntry : IEquatable<WasiDirectoryEntry>- Implements
Constructors
| Name | Description |
|---|---|
| WasiDirectoryEntry(string, WasiFileType, ulong) | An entry of a directory, returned by WasiFileSystem.EnumerateDirectory. |
WasiDirectoryEntry(string, WasiFileType, ulong)
An entry of a directory, returned by WasiFileSystem.EnumerateDirectory.
public WasiDirectoryEntry(string Name, WasiFileType Type, ulong Inode)Parameters
Namestring- The name of the entry.
TypeWasiFileType- The type of the entry (not of the target of a symbolic link).
Inodeulong- The serial number of the entry (0 when unknown).
Properties
| Name | Description |
|---|---|
| Inode | The serial number of the entry (0 when unknown). |
| Name | The name of the entry. |
| Type | The type of the entry (not of the target of a symbolic link). |
Inode
WasiFileSystem.csThe type of the entry (not of the target of a symbolic link).
public WasiFileType Type { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Deconstruct(string, WasiFileType, ulong) | |
| Equals(WasiDirectoryEntry) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(string, WasiFileType, ulong)
public void Deconstruct(out string Name, out WasiFileType Type, out ulong Inode)Parameters
NamestringTypeWasiFileTypeInodeulong
No documentation is available.
Equals overloads
Equals(WasiDirectoryEntry)
public bool Equals(WasiDirectoryEntry other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(WasiDirectoryEntry, WasiDirectoryEntry) | |
| operator !=(WasiDirectoryEntry, WasiDirectoryEntry) |
operator ==(WasiDirectoryEntry, WasiDirectoryEntry)
public static bool operator ==(WasiDirectoryEntry left, WasiDirectoryEntry right)No documentation is available.
operator !=(WasiDirectoryEntry, WasiDirectoryEntry)
public static bool operator !=(WasiDirectoryEntry left, WasiDirectoryEntry right)No documentation is available.