Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ghq ¶
type Ghq struct {
// contains filtered or unexported fields
}
func NewGhq ¶
func NewGhq(root string, repos []*Repository) *Ghq
func (*Ghq) ChoiceRepoNameByPeco ¶
func (*Ghq) Find ¶
func (g *Ghq) Find(name string) *Repository
func (*Ghq) Repos ¶
func (g *Ghq) Repos() []*Repository
type GhqCommand ¶
type GhqCommand struct {
// contains filtered or unexported fields
}
func NewGhqCommand ¶
func NewGhqCommand() *GhqCommand
func (*GhqCommand) CreateGhq ¶
func (g *GhqCommand) CreateGhq() (*Ghq, error)
func (*GhqCommand) List ¶
func (g *GhqCommand) List() ([]string, error)
func (*GhqCommand) Root ¶
func (g *GhqCommand) Root() (string, error)
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(name, path string) *Repository
func (*Repository) Contains ¶
func (r *Repository) Contains(path string) bool
func (*Repository) Exists ¶
func (r *Repository) Exists() bool
func (*Repository) GetLatestTagName ¶
func (r *Repository) GetLatestTagName() string
リポジトリの最新のタグ名を取得する. タグがない場合は空文字を返す
func (*Repository) Name ¶
func (r *Repository) Name() string
func (*Repository) Path ¶
func (r *Repository) Path() string
func (*Repository) RemoteUrl ¶
func (r *Repository) RemoteUrl() string
func (*Repository) Remove ¶
func (r *Repository) Remove() error
Click to show internal directories.
Click to hide internal directories.