HomeSoftware Heritage

algos.dir_iterators: Implement iterator protocol in DirectoryIterator
2eced78da85dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

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
vlorentzPushed on May 17 2019, 1:53 PM
Parents
rDSTOC9adaed700be3: algos.dir_iterators: Fix handling of empty directory
Branches
Unknown
Tags
Unknown