Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathIgnore ¶ added in v0.6.1
type PathIgnore interface { // MatchPath the current string matches the rule or not, if enable the matchIgnoreDeletedPath, check the deleted file rule is matched or not first MatchPath(path, caller, desc string) bool }
PathIgnore check the ignore rules of the specified file path
func NewPathIgnore ¶ added in v0.6.1
func NewPathIgnore(ignoreConf string, ignoreDeletedPath bool, logger *logger.Logger) (PathIgnore, error)
NewPathIgnore create an instance of the PathIgnore component ignoreConf the config file path of the ignore component ignoreDeletedPath whether ignore the deleted path
Click to show internal directories.
Click to hide internal directories.