Documentation
¶
Index ¶
- func NewTreeCache() *treeCacheConcurrentSafe
- type Blob
- type BlobPath
- type Commit
- type Entry
- type Object
- type Repo
- func (self *Repo) CmdCombinedOutput(cmdv []string) ([]byte, error)
- func (self *Repo) CmdOutput(cmdv []string) ([]byte, error)
- func (self *Repo) Command(cmdv []string) *exec.Cmd
- func (self *Repo) GitDir() string
- func (self *Repo) Run(cmdv []string) error
- func (self *Repo) StreamObjectsOfType(ctx context.Context, objectType string, jFactor int) (<-chan Object, <-chan error)
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTreeCache ¶
func NewTreeCache() *treeCacheConcurrentSafe
Types ¶
type Blob ¶
type Blob struct {
// contains filtered or unexported fields
}
func (*Blob) DecompressedSizeBytes ¶
func (*Blob) Instantiate ¶
type Commit ¶
type Commit struct {
// contains filtered or unexported fields
}
func (*Commit) Instantiate ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) StreamObjectsOfType ¶
func (self *Repo) StreamObjectsOfType(ctx context.Context, objectType string, jFactor int) (<-chan Object, <-chan error)
Stream all Objects of a certain type on the Object channel. Once done reading the Object Channel, read the error channel to see if the stream stopped due to any error. The context can be used to cancel the request in progress.
Click to show internal directories.
Click to hide internal directories.