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 ReadNoMigrationMsg ¶ added in v0.1.2
func (*LockJSON) GetReposListByProfile ¶
type Profile ¶
type Profile struct { Name string `json:"name"` ReposPath profReposPath `json:"repos_path"` }
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 pathutil.ReposPath) error
Click to show internal directories.
Click to hide internal directories.