Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockJSON ¶
type LockJSON struct { Version int64 `json:"version"` TrxID int64 `json:"trx_id"` CurrentProfileName string `json:"current_profile_name"` Repos ReposList `json:"repos"` Profiles ProfileList `json:"profiles"` }
func InitialLockJSON ¶
func InitialLockJSON() *LockJSON
func ReadNoMigrationMsg ¶ added in v0.1.2
func (*LockJSON) GetReposListByProfile ¶
type ProfileList ¶
type ProfileList []Profile
func (*ProfileList) FindByName ¶
func (profs *ProfileList) FindByName(name string) (*Profile, error)
func (*ProfileList) FindIndexByName ¶
func (profs *ProfileList) FindIndexByName(name string) int
func (*ProfileList) RemoveAllReposPath ¶
func (profs *ProfileList) RemoveAllReposPath(reposPath string) error
type ReposList ¶
type ReposList []Repos
func (*ReposList) FindByPath ¶
func (*ReposList) RemoveAllByPath ¶
Click to show internal directories.
Click to hide internal directories.