piclist 0.8.7 → 0.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -377,6 +377,7 @@ export interface ISftpPlistConfig {
377
377
  webPath?: string;
378
378
  fileUser?: string;
379
379
  fileMode?: string;
380
+ dirMode?: string;
380
381
  }
381
382
  /** PicGo 配置文件类型定义 */
382
383
  export interface IConfig {
@@ -6,8 +6,9 @@ declare class SSHClient {
6
6
  private _isConnected;
7
7
  static get instance(): SSHClient;
8
8
  static get client(): NodeSSH;
9
+ private changeWinStylePathToUnix;
9
10
  connect(config: ISftpPlistConfig): Promise<boolean>;
10
- upload(local: string, remote: string): Promise<boolean>;
11
+ upload(local: string, remote: string, config: ISftpPlistConfig): Promise<boolean>;
11
12
  private mkdir;
12
13
  chown(remote: string, user: string, group?: string): Promise<boolean>;
13
14
  private exec;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piclist",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",