ls_tree

package
v1.1.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LsTreeEntry

type LsTreeEntry struct {
	Path string
	object.TreeEntry
}

type PathFilter

type PathFilter interface {
	MatchPath(path string) bool
	ProcessDirOrSubmodulePath(path string) (bool, bool)
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

func LsTree

func LsTree(repository *git.Repository, basePath string, pathFilter PathFilter) (*Result, error)

func (*Result) HashSum

func (r *Result) HashSum() string

func (*Result) LsTree

func (r *Result) LsTree(pathFilter PathFilter) (*Result, error)

type SubmoduleResult

type SubmoduleResult struct {
	*Result
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL