Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileReader ¶
func GetFileReader(commit, id string) (io.ReadCloser, error)
func ListBranches ¶
Types ¶
type Commit ¶
type Manager ¶
type Manager interface { Initialize() error Commands() []Command ListBranches() ([]string, error) GetBranch(id string) (string, error) ListCommits(branch string, page int) ([]Commit, error) GetCommit(id string) (Commit, error) ListFiles(commit string) ([]File, error) GetFile(commit, id string) (File, error) GetFileReader(commit, id string) (io.ReadCloser, error) }
Click to show internal directories.
Click to hide internal directories.