Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileFinder ¶
type FileFinder struct {
// contains filtered or unexported fields
}
func New ¶
func New(paths []string) *FileFinder
NewFileFinder creates a new FileFinder object with the provided array of strings.
func (*FileFinder) AnyExists ¶
func (ff *FileFinder) AnyExists() bool
anyExist returns true if any of the file paths exist, and false if none exist.
func (*FileFinder) FirstExists ¶
func (ff *FileFinder) FirstExists() string
firstExists returns the first file path that exists on the file system.
Click to show internal directories.
Click to hide internal directories.