Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
Comments db.CommentStore
CommitLog func(r repo.Repo) ([]git.Commit, error)
Diff func(r repo.Repo) ([]git.File, error)
DiffCommit func(r repo.Repo, sha string) ([]git.File, error)
Home string
HunkCommit func(r repo.Repo, path string, newStart, newCount int) (git.Commit, error)
ListRepos func() ([]repo.Repo, error)
LookupRepo func(slug string) (repo.Repo, bool)
ShowBlob func(r repo.Repo, path string) ([]byte, error)
ShowCommit func(r repo.Repo, sha string) (git.Commit, error)
ShowFile func(r repo.Repo, path string) ([]string, error)
}
func DefaultDeps ¶
Click to show internal directories.
Click to hide internal directories.