Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexerConfig ¶
type IndexerConfig struct {
ExcludeDirFilter []string
ExcludeFileFilter []string
IgnoreHiddenItems bool
IgnoreSystemItems bool
// contains filtered or unexported fields
}
func New ¶
func New() *IndexerConfig
func NewConfigured ¶
func NewConfigured(excludeDirFilter []string, excludeFileFilter []string, ignoreHiddenItems bool, ignoreSystemItems bool) *IndexerConfig
func (*IndexerConfig) WalkDirectory ¶
func (config *IndexerConfig) WalkDirectory(f fs.FS, root string, options WalkConfig, files chan *FileFS) error
type LocationFS ¶ added in v0.9.2
type LocationFS struct {
fs.FS // embed the original fs.FS type
Name string // add a new field
Kind Kind
}
func NewLocationFS ¶ added in v0.9.2
func NewLocationFS(kind Kind, name string, fsys fs.FS) *LocationFS
type WalkConfig ¶ added in v0.9.0
type WalkConfig struct {
Recurse bool
}
Click to show internal directories.
Click to hide internal directories.