Documentation ¶
Overview ¶
Package ignorefs implements a wrapper that hides ignored files listed in '.kopiaignore' and in policies attached to directories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IgnoreCallback ¶
IgnoreCallback is a function called by ignorefs to report whenever a file or directory is being ignored while listing its parent.
type Option ¶
type Option func(parentContext *ignoreContext)
Option modifies the behavior of ignorefs
func ReportIgnoredFiles ¶
func ReportIgnoredFiles(f IgnoreCallback) Option
ReportIgnoredFiles returns an Option causing ignorefs to call the provided function whenever a file or directory is ignored.
Click to show internal directories.
Click to hide internal directories.