Documentation
¶
Index ¶
- type LsTreeEntry
- type Result
- func (r *Result) Checksum(ctx context.Context) string
- func (r *Result) IsEmpty() bool
- func (r *Result) LsTree(ctx context.Context, pathMatcher path_matcher.PathMatcher) (*Result, error)
- func (r *Result) LsTreeEntry(relPath string) *LsTreeEntry
- func (r *Result) LsTreeEntryContent(relPath string) ([]byte, error)
- func (r *Result) Walk(f func(lsTreeEntry *LsTreeEntry) error) error
- type SubmoduleResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LsTreeEntry ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func LsTree ¶
func LsTree(ctx context.Context, repository *git.Repository, commit string, pathMatcher path_matcher.PathMatcher, strict bool) (*Result, error)
func (*Result) LsTree ¶
func (r *Result) LsTree(ctx context.Context, pathMatcher path_matcher.PathMatcher) (*Result, error)
func (*Result) LsTreeEntry ¶ added in v1.2.5
func (r *Result) LsTreeEntry(relPath string) *LsTreeEntry
func (*Result) LsTreeEntryContent ¶ added in v1.2.5
type SubmoduleResult ¶
type SubmoduleResult struct {
*Result
}
Click to show internal directories.
Click to hide internal directories.