Documentation ¶
Overview ¶
Package source provides an iterable Source interface of elements with path and content.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File takes a directory in the filesystem as source.
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git takes a git repo as origin
type PathFilter ¶
PathFilter is used to exclude/include files in a FileSource.
func FilterPrefix ¶
func FilterPrefix(filter string) PathFilter
FilterPrefix filters files by the given prefix.
func FilterSuffix ¶
func FilterSuffix(filter string) PathFilter
FilterSuffix filters files by the given suffix.
Click to show internal directories.
Click to hide internal directories.