Documentation
¶
Index ¶
- func CopyRepo(path, remoteUrl string)
- func CreateRepo(path string)
- func GetDefaultBranch(path string) string
- type BoltDb
- type ByName
- type Db
- type File
- type GitRepo
- type Repo
- func (r *Repo) Branches() (branches []string)
- func (r *Repo) CloneUrl() string
- func (r *Repo) Contents(file string) (string, bool)
- func (r *Repo) DefaultBranch() string
- func (r *Repo) Files(tree string) (files []File, ok bool)
- func (r *Repo) IsEmpty() bool
- func (r *Repo) Readme() (name string, contents template.HTML)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepo ¶
func CreateRepo(path string)
func GetDefaultBranch ¶
Types ¶
type BoltDb ¶
type BoltDb struct {
// contains filtered or unexported fields
}
type Db ¶
Click to show internal directories.
Click to hide internal directories.