Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
Name string
IndexDir string
Paths []string
Include []string
Exclude []string
Type string
Alias []string
}
func NewConfiguration ¶
func NewConfiguration(path string) (*Configuration, error)
func (*Configuration) Match ¶
func (cfg *Configuration) Match(path string) bool
a return value of:
false means that the filename either:
matched the exclude pattern did not match the include pattern
true can only mean that the filename:
matched the include pattern
Click to show internal directories.
Click to hide internal directories.