Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressCallback ¶
type ProgressCallback interface { Info(numBytes int, last bool) Verbose(relPath string, status fsutil.VerboseProgressStatus, numBytes int) }
ProgressCallback exposes two different levels of callbacks for displaying status on files being sent or received
func New ¶
func New(pathPrefix string, console conslogging.ConsoleLogger) ProgressCallback
New returns a new verbose progress callback for use with fsutil
Click to show internal directories.
Click to hide internal directories.