parseMlsdLine
function parseMlsdLine(line: string, directory?: string): RemoteEntry;Defined in: src/providers/classic/ftp/FtpListParser.ts:108
Parses a single MLSD or MLST fact line.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
line | string | undefined | Raw fact line in fact=value; name format. |
directory | string | "." | Parent remote directory used to build the entry path. |
Returns
Section titled “Returns”A normalized remote entry with parsed facts in raw metadata.
Throws
Section titled “Throws”ParseError When the line does not contain facts and a name.