Documentation ¶
Index ¶
- func DumpTree(b []byte) ([]*object.TreeEntry, error)
- func EncodedObj(o plumbing.EncodedObject) (blob []byte, err error)
- func EncodedObject(o plumbing.EncodedObject) (h plumbing.Hash, blob []byte, err error)
- func Entry2Map(entries []*object.TreeEntry, m map[plumbing.Hash]*Inode) map[plumbing.Hash]*Inode
- func GetUrlPath(name, ReposDir string, githubServer []string) (url, path, filename string, err error)
- func ObjToCommit(v []byte) (*object.Commit, error)
- func PlainClone(url string) (*git.Repository, error)
- func PlainCloneFS(url, path string) (*git.Repository, error)
- func PlainOpen(path string) (*git.Repository, error)
- func SetEncodedObject(dir *dotgit.DotGit, o plumbing.EncodedObject) (h plumbing.Hash, err error)
- func Tree(root plumbing.Hash, g DBGeter) (map[plumbing.Hash]*Inode, error)
- func TreeEntry2String(e *object.TreeEntry) string
- func TreeFlat(r *git.Repository) ([]string, error)
- func Trees(r *git.Repository, tcb func(k, v []byte) error, rdb RefDBer) error
- func Upload(url string, pack io.Writer) (refs memory.ReferenceStorage, err error)
- type Client
- type DBGeter
- type Inode
- type Record
- type Ref
- type RefDBer
- type RefRecord
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodedObj ¶
func EncodedObj(o plumbing.EncodedObject) (blob []byte, err error)
func EncodedObject ¶
func GetUrlPath ¶
func PlainClone ¶
func PlainCloneFS ¶
func SetEncodedObject ¶
func TreeEntry2String ¶
Types ¶
type Client ¶
func NewGitHubClient ¶
func NewGitHubClient() *Client
func NewGitHubClientWithoutToken ¶
func NewGitHubClientWithoutToken() *Client
type Repository ¶
Click to show internal directories.
Click to hide internal directories.