Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExtGo = ".go"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileFinder ¶
type FileFinder struct {
// contains filtered or unexported fields
}
FileFinder finds a file in a vcs repository.
func NewFileFinder ¶
func NewFileFinder(client VCSClient, repo giturl.IGitURL, path, ref string, httpClient *http.Client, logger log.Logger) *FileFinder
NewFileFinder returns a new FileFinder.
func (FileFinder) Find ¶
func (ff FileFinder) Find(ctx context.Context) (*vcsv1.GetFileResponse, error)
Find returns the file content and URL.
Click to show internal directories.
Click to hide internal directories.