Documentation
¶
Index ¶
- Variables
- type Branch
- type LogStatement
- type RefsResult
- type Repo
- func (repo Repo) About(refName string) (string, error)
- func (repo Repo) Age() (time.Time, error)
- func (repo Repo) Author() string
- func (repo Repo) Description() (string, error)
- func (repo Repo) Log(commitID string, size uint8) ([]LogStatement, error)
- func (repo Repo) LogRef(name string, size uint8) ([]LogStatement, error)
- func (repo Repo) Name() string
- func (repo Repo) Refs() (RefsResult, error)
- type Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRepositoryNotFound = errors.New("repository not found") ErrFailedToReadRepositoryConfig = errors.New("failed to read repository config") )
View Source
var ErrNoReadMe = errors.New("no readme file found")
Functions ¶
This section is empty.
Types ¶
type LogStatement ¶
type RefsResult ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (Repo) Description ¶
func (Repo) Refs ¶
func (repo Repo) Refs() (RefsResult, error)
Click to show internal directories.
Click to hide internal directories.