Documentation ¶
Index ¶
- func Clean(repoInput string) error
- func Clone(spec, specified string, https bool) error
- func Link(repoInput string, specified []string, dry bool) error
- func List(specified string) error
- func Update(repoInput string) error
- func Version() string
- type Mappings
- func (maps Mappings) ActualLinks(repo abspath.AbsPath) ([]PathLink, error)
- func (maps Mappings) CreateAllLinks(dir abspath.AbsPath, dry bool) error
- func (maps Mappings) CreateSomeLinks(specified []string, dir abspath.AbsPath, dry bool) error
- func (maps Mappings) UnlinkAll(repo abspath.AbsPath) error
- type NothingLinkedError
- type PathLink
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mappings ¶
func GetMappingsForPlatform ¶
func (Mappings) ActualLinks ¶
func (Mappings) CreateAllLinks ¶
func (Mappings) CreateSomeLinks ¶
type NothingLinkedError ¶
type NothingLinkedError struct {
RepoPath string
}
func (NothingLinkedError) Error ¶
func (err NothingLinkedError) Error() string
type Repository ¶
Repository represents a repository on local filesystem TODO: Enable to specify branch name?
func NewRepository ¶
func NewRepository(spec, specified string, https bool) (*Repository, error)
func (*Repository) Clone ¶
func (repo *Repository) Clone() error
Click to show internal directories.
Click to hide internal directories.