mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-27 22:19:56 -04:00
Create and close sshClient instances in one-off sync functions (ShearRemoteFromClient, RenameRemoteFromClient, AddFolderRemoteFromClient)
This commit is contained in:
1 parent
88b7a6be6d
commit
645bd964e6
3 files changed
+84
-40
No files matched your search
+1
-1
@@ -53,7 +53,7 @@ func GpgKeyGen() string {
|
||||
}
|
||||
|
||||
// DirInit creates the libmutton directories.
|
||||
// Returns: oldDeviceID (before from before the directory reset).
|
||||
// Returns: oldDeviceID (from before the directory reset).
|
||||
func DirInit(preserveOldConfigDir bool) string {
|
||||
// create EntryRoot
|
||||
err := os.MkdirAll(EntryRoot, 0700)
|
||||
|
||||
Reference in new issue
Block a user