Documentation
¶
Overview ¶
Package sync is the implementation of sync/copy/move
Index ¶
- Variables
- func CopyDir(ctx context.Context, fdst, fsrc fs.Fs, copyEmptySrcDirs bool) error
- func MoveDir(ctx context.Context, fdst, fsrc fs.Fs, deleteEmptySrcDirs bool, ...) error
- func Sync(ctx context.Context, fdst, fsrc fs.Fs, copyEmptySrcDirs bool) error
- func Transform(ctx context.Context, fdst fs.Fs, deleteEmptySrcDirs bool, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMaxDurationReached = errors.New("max transfer duration reached as set by --max-duration")
ErrorMaxDurationReached defines error when transfer duration is reached Used for checking on exit and matching to correct exit code.
View Source
var ErrorMaxDurationReachedFatal = fserrors.FatalError(ErrorMaxDurationReached)
ErrorMaxDurationReachedFatal is returned from when the max duration limit is reached.
Functions ¶
func MoveDir ¶
func MoveDir(ctx context.Context, fdst, fsrc fs.Fs, deleteEmptySrcDirs bool, copyEmptySrcDirs bool) error
MoveDir moves fsrc into fdst
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.