HomeSoftware Heritage

algos.dir_iterators: Implement iterator protocol in DirectoryIterator

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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

Details

Provenance
anlambertAuthored on Sep 26 2018, 2:14 PM
anlambertPushed on Sep 28 2018, 2:32 PM

Commit No Longer Exists

This commit no longer exists in the repository.