package
0.2.4
Repository: https://github.com/rwinkhart/libmutton.git
Documentation: pkg.go.dev

# Functions

AddFolderLocal creates a new entry-containing directory on the local system.
AddFolderRemoteFromClient creates a new entry-containing directory on the local system and calls the server to create the folder remotely.
DeviceIDGen generates a new client device ID and registers it with the server (will replace existing one).
GetRemoteDataFromServer prints to stdout the remote entries, mod times, folders, and deletions.
GetSSHClient returns an SSH client connection to the server (also returns the remote EntryRoot and an indicator of the server's OS).
GetSSHOutput runs a command over SSH and returns the output as a string.
RenameLocal renames oldLocationIncomplete to newLocationIncomplete on the local system.
RenameRemoteFromClient renames oldLocationIncomplete to newLocationIncomplete on the local system and calls the server to perform the rename remotely and add the old target to the deletions list.
RunJob runs the SSH sync job.
ShearLocal removes the target file or directory from the local system.
ShearRemoteFromClient removes the target file or directory from the local system and calls the server to remove it remotely and add it to the deletions list.
WalkEntryDir walks the entry directory and returns lists of all files and directories found (two separate lists).