Skip to content

Add extra filters to filesystem explorer #18

@dkaszews

Description

@dkaszews

In addition to parsing .gitignore files, the glug::filesystem::explorer should accept additional filters to limit the output to only matching files. While file filters could be applied externally at the output without any performance hit, possibility to filter directories that are not otherwise ignored (e.g. to skip any unit test code) should be done internally, to cut out that branch as soon as possible.

Implementation can be based on existing .gitignore filters, taking optional list of globs to be treated as top-level unanchored patterns.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions