summaryrefslogtreecommitdiff
path: root/morphlib/artifactresolver_tests.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-04 14:08:02 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-04 16:18:48 +0000
commit8eb4c17720681d8817cc78b617e0917fba3039f1 (patch)
treea8a1ed893ce6d866db9cc3c153ec9ee14680f6e6 /morphlib/artifactresolver_tests.py
parent82f4db237ca9477f91f40bcd9d440721060823a8 (diff)
downloadmorph-8eb4c17720681d8817cc78b617e0917fba3039f1.tar.gz
Add convenience method for traversing a directory tree
This method (walk_special_directories) will yield all subdirectories of a root directory that have a special subdirectory and at most N non-hidden immediate subdirectories. This is used to e.g. iterate over all git repositories (directories with a .git subdirectory) and system branch directories.
Diffstat (limited to 'morphlib/artifactresolver_tests.py')
0 files changed, 0 insertions, 0 deletions