Struct SftpFileEntry
Represents a filesystem entry during enumeration.
public ref struct SftpFileEntry
- Inherited Members
Properties
FileName
Gets the file name without directory path.
public ReadOnlySpan<char> FileName { get; }
Property Value
FileType
Gets the file type.
public readonly UnixFileType FileType { get; }
Property Value
Gid
Gets the group ID.
public readonly int Gid { get; }
Property Value
LastAccessTime
Gets the last access time.
public readonly DateTimeOffset LastAccessTime { get; }
Property Value
LastWriteTime
Gets the last write time.
public readonly DateTimeOffset LastWriteTime { get; }
Property Value
Length
Gets the file length in bytes.
public readonly long Length { get; }
Property Value
Path
Gets the full path to the entry.
public ReadOnlySpan<char> Path { get; }
Property Value
Permissions
Gets the file permissions.
public readonly UnixFilePermissions Permissions { get; }
Property Value
Uid
Gets the user ID.
public readonly int Uid { get; }
Property Value
Methods
ToAttributes()
Gets the attributes.
public FileEntryAttributes ToAttributes()
Returns
ToPath()
Gets the full path of the entry as a string.
public string ToPath()
Returns
- string
The full path.