Interface IListFormatter
Interface that provides the text to output for the LIST and NLST commands.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IListFormatter
Methods
| Improve this Doc View SourceFormat(IUnixFileSystemEntry, Nullable<String>)
Gets the output line to write for the given IUnixFileSystemEntry.
Declaration
string Format(IUnixFileSystemEntry entry, string? entryName = default(string? ))
Parameters
| Type | Name | Description |
|---|---|---|
| IUnixFileSystemEntry | entry | The entry to create the output line for. |
| Nullable<String> | entryName | The name of the entry (can be null if the original entry name should be used). |
Returns
| Type | Description |
|---|---|
| String | The text to write to the client. |