An error occurred while retrieving diff files
algos.dir_iterators: Implement iterator protocol in DirectoryIterator
- add Python iterator protocol support in the DirectoryIterator class in order to easily visit in a recursive way any directory stored in the archive. - add convenient function dir_iterator wrapping the instantiation of the DirectoryIterator class - add tests Related T1177
Showing
- swh/storage/algos/dir_iterators.py 34 additions, 5 deletionsswh/storage/algos/dir_iterators.py
- swh/storage/tests/algos/test_diff.py 3 additions, 73 deletionsswh/storage/tests/algos/test_diff.py
- swh/storage/tests/algos/test_dir_iterator.py 153 additions, 0 deletionsswh/storage/tests/algos/test_dir_iterator.py
Loading
-
Some references in the commit message have been migrated:
- T1177 is now swh-vault#1177 (closed)
-
mentioned in merge request !88 (closed)
Please register or sign in to comment