View Source Dragon.Tools.File.WalkTree (dragon v1.1.2)

File handling tools.

Link to this section Summary

Functions

Recursive directory tree walker. I prefer this to Path.wildcard(), as I have more fine-grained control.

Link to this section Functions

Link to this function

walk_tree(dragon, path, cfg)

View Source

Recursive directory tree walker. I prefer this to Path.wildcard(), as I have more fine-grained control.

Match and Ignore can be string or regex. If string it matches exactly on the file extension. Match is a dictionary where the value is a handler function, and the key is a regex or string, where ignore is simply a list.

Link to this function

walk_tree_(dragon, path, opts)

View Source