Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUpToDate = errors.New("repository is already up to date")
ErrUpToDate is returned when a repository index is already up to date and doesn't require a pull.
Functions ¶
func Pull ¶
Pull synchronizes a repository index from a remote repository and atomically updates the store. If the index is already up to date, it returns ErrUpToDate. If opts.ProgressFunc is set, Pull will call it continuously with the current progress of the pull operation. The original store remains usable and unmodified until the pull operation completes successfully. It will only be blocked for the duration of the atomic replacement operation.
Types ¶
Click to show internal directories.
Click to hide internal directories.