restructure class files
This commit is contained in:
16
ts/smartssh.classes.sshdir.ts
Normal file
16
ts/smartssh.classes.sshdir.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import "typings-global";
|
||||
import * as plugins from "./smartssh.plugins";
|
||||
import * as helpers from "./smartssh.classes.helpers";
|
||||
import {sshKey} from "./smartssh.classes.sshkey";
|
||||
export class sshDir { // sshDir class -> NOT EXPORTED, ONLY FOR INTERNAL USE
|
||||
path:string;
|
||||
constructor(sshDirPathArg:string){
|
||||
this.path = sshDirPathArg;
|
||||
}
|
||||
sync(sshConfigArg:sshConfig,sshKeysArg:sshKey[]){
|
||||
|
||||
};
|
||||
getKeys(){
|
||||
return helpers.sshKeyArrayFromDir(this.path);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user