Documentation
¶
Index ¶
- func Branches(repo *git.Repository) ([]*plumbing.Reference, error)
- func Find(repo *git.Repository, ref *plumbing.Reference, path string) (object.Object, error)
- func HeadOrDefault(repo *git.Repository) (*plumbing.Reference, error)
- func Init(ctx context.Context, ds ipld.DAGService) (ipld.Node, error)
- func Logs(repo *git.Repository, ref *plumbing.Reference, offset, max int) ([]*object.Commit, error)
- func Open(ctx context.Context, ds ipld.DAGService, id string) (*git.Repository, error)
- func Readme(repo *git.Repository, ref *plumbing.Reference) (*object.Blob, error)
- func RefPath(repo *git.Repository, path string) (*plumbing.Reference, string, error)
- func Tags(repo *git.Repository) ([]*plumbing.Reference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeadOrDefault ¶
HeadOrDefault returns the head or default branch for the repo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.