hexo/node_modules/sftp-sync-deploy/lib/config.d.ts

19 lines
426 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
export interface SftpSyncConfig {
host: string;
port?: number;
username: string;
password?: string;
privateKey?: string;
passphrase?: string;
agent?: string;
localDir: string;
remoteDir: string;
}
export interface SftpSyncOptions {
dryRun?: boolean;
exclude?: string[];
excludeMode?: 'ignore' | 'remove';
forceUpload?: boolean;
concurrency?: number;
}