Discover Packages
github.com/tamankuc/rclone_ui
fs
sync
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 26, 2024
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
CopyDir(ctx, fdst, fsrc, copyEmptySrcDirs)
MoveDir(ctx, fdst, fsrc, deleteEmptySrcDirs, copyEmptySrcDirs)
Sync(ctx, fdst, fsrc, copyEmptySrcDirs)
Types
Source Files
Documentation
Documentation
¶
Package sync is the implementation of sync/copy/move
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
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.
ErrorMaxDurationReachedFatal is returned from when the max
duration limit is reached.
CopyDir copies fsrc into fdst
MoveDir moves fsrc into fdst
Source Files
¶
Click to show internal directories.
Click to hide internal directories.