Skip to content

Improved `glob()` implementation; filsystem-prewarm

Compare
Choose a tag to compare
@hzeller hzeller released this 01 Jun 22:02
· 81 commits to main since this release

Most important: glob() works more accurately now. Previously **/foo.txt was not matching the plain foo.txt while now **/ is correctly interpreted as zero or more directory elements. Also, the matching was improved to only delegate to regular expressions if needed, reducing expensive expressions.

Support to get the most out of slow file-systems has been added: on slow network filesystems or cold-storage CI machines it might make sense to enable it by creating a ~/.cache/bant/ directory that bant then makes use of for this feature.