parseUnixListLine
function parseUnixListLine( line: string, directory?: string, now?: Date): RemoteEntry;Defined in: src/providers/classic/ftp/FtpListParser.ts:66
Parses one Unix-style FTP LIST line.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
line | string | undefined | Raw listing line in an ls -l compatible format. |
directory | string | "." | Parent remote directory used to build the entry path. |
now | Date | ... | Reference date used when the line omits a year. |
Returns
Section titled “Returns”Normalized remote entry with raw LIST metadata retained.
Throws
Section titled “Throws”ParseError When the line is not a supported Unix LIST entry.