mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 09:39:32 +08:00
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
/// <reference types="node" />
|
|
import { AccessOptions } from 'basic-ftp';
|
|
import { Readable } from 'stream';
|
|
import { GetUriProtocol } from '.';
|
|
export interface FTPReadable extends Readable {
|
|
lastModified?: Date;
|
|
}
|
|
export interface FTPOptions extends AccessOptions {
|
|
cache?: FTPReadable;
|
|
}
|
|
/**
|
|
* Returns a Readable stream from an "ftp:" URI.
|
|
*/
|
|
export declare const ftp: GetUriProtocol<FTPOptions>;
|