Comparing version 0.2.2 to 0.2.3
@@ -207,2 +207,6 @@ (function() { | ||
SSH.prototype.end = function() { | ||
return this.Connection.end(); | ||
}; | ||
return SSH; | ||
@@ -209,0 +213,0 @@ |
{ | ||
"name": "node-ssh", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "SS2 with Promises", | ||
@@ -5,0 +5,0 @@ "main": "Dist/SSH.js", |
@@ -52,12 +52,13 @@ Node-SSH - SSH2 with Promises | ||
```js | ||
type PutInfo = shape(LocalPath => string, RemotePath => string); | ||
type PutInfo = shape(LocalPath => string, RemotePath => string) | ||
class SSH{ | ||
constructor(SSH2Configuration); | ||
connect():Promise<void>; | ||
mkdir(Path:String):Promise<void>; | ||
exec(Command:String, {cwd:String}):Promise<Object{stderr:String, stdout: String};> | ||
put(LocalPath:String, RemotePath:String, ?SFTP: SSH2SFTP, ?Retry:Boolean = true):Promise<void>; | ||
putMulti(Files:array<PutInfo>, ?SFTP: SSH2SFTP):Promise<void>; | ||
get(RemoteFile:String, ?LocalFile:String, ?SFTP: SSH2SFTP):Promise<?string>; | ||
constructor(SSH2Configuration) | ||
connect():Promise<void> | ||
mkdir(Path:String):Promise<void> | ||
exec(Command:String, {cwd:String}):Promise<Object{stderr:String, stdout: String}> | ||
put(LocalPath:String, RemotePath:String, ?SFTP: SSH2SFTP, ?Retry:Boolean = true):Promise<void> | ||
putMulti(Files:array<PutInfo>, ?SFTP: SSH2SFTP):Promise<void> | ||
get(RemoteFile:String, ?LocalFile:String, ?SFTP: SSH2SFTP):Promise<?string> | ||
requestSFTP():Promise<SSH2SFTP> | ||
end():void | ||
} | ||
@@ -64,0 +65,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13298
201
69