Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullOptions ¶
PullOptions contains options for the pull command
type PullResult ¶
PullResult contains the results of a pull operation
func RunPull ¶
func RunPull(cfg *config.Config, opts PullOptions) (*PullResult, error)
RunPull pulls all repos for all configured sources
type RepoStatus ¶
type RepoStatus struct {
Name string
FullName string
LocalPath string
Status ui.DiffStatus
InConfig bool
ExistsLocal bool
}
func ComputeSourceStatus ¶
func ComputeSourceStatus(source *config.Source) ([]RepoStatus, error)
ComputeSourceStatus computes the status of repos for a single source without performing any actions. Returns the list of repo statuses.
type SyncOptions ¶
type SyncResult ¶
func Run ¶
func Run(cfg *config.Config, opts SyncOptions) (*SyncResult, error)
Click to show internal directories.
Click to hide internal directories.