Documentation
¶
Index ¶
- Constants
- func AnyRemotesBanned(remotes []string) (bool, time.Time)
- func Copy(from string, to string, serviceAccountFile *pathutils.Path, ...) (bool, int, error)
- func Dedupe(remotePath string, additionalRcloneParams []string) (bool, int, error)
- func DeleteFile(remoteFilePath string) (bool, int, error)
- func GetAvailableServiceAccount(serviceAccountFiles []pathutils.Path) (*pathutils.Path, error)
- func Init(c *config.Configuration) error
- func Move(from string, to string, serviceAccountFile *pathutils.Path, serverSide bool, ...) (bool, int, error)
- func RmDir(remoteFilePath string) (bool, int, error)
- func Sync(from string, to string, serviceAccountFile *pathutils.Path, ...) (bool, int, error)
- type RemoteInstruction
Constants ¶
View Source
const ( CmdCopy string = "copy" CmdMove string = "move" CmdSync string = "sync" CmdDeleteFile string = "deletefile" CmdDeleteDir string = "rmdir" CmdDeleteDirs string = "rmdirs" CmdDedupe string = "dedupe" )
View Source
const ( ExitSuccess int = iota ExitSyntaxError ExitErrorUnknown ExitDirectoryNotFound ExitFileNotFound ExitTemporaryError ExitLessSeriousError ExitFatalError ExitTransferExceeded )
Variables ¶
This section is empty.
Functions ¶
func GetAvailableServiceAccount ¶
Private
func Init ¶
func Init(c *config.Configuration) error
Types ¶
type RemoteInstruction ¶
Click to show internal directories.
Click to hide internal directories.