Skip to content

Commit

Permalink
feat: iter_gitworktree()
Browse files Browse the repository at this point in the history
  • Loading branch information
mih committed Nov 4, 2024
1 parent 7343847 commit ad2e63c
Show file tree
Hide file tree
Showing 5 changed files with 708 additions and 0 deletions.
30 changes: 30 additions & 0 deletions datalad_core/iter_collections/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""Iterators for particular types of collections
Most, if not all, implementation come in the form of a function that takes
a collection identifier or a collection location (e.g., a file system path),
and possibly some additional options. When called, an iterator is returned
that produces collection items in the form of data class instances of
a given type. The particular type can be different across different
collections.
.. currentmodule:: datalad_core.iter_collections
.. autosummary::
:toctree: generated
iter_gitworktree
GitTreeItemType
GitWorktreeItem
"""

__all__ = [
'GitTreeItemType',
'GitWorktreeItem',
'iter_gitworktree',
]

from .gitworktree import (
GitTreeItemType,
GitWorktreeItem,
iter_gitworktree,
)
Loading

0 comments on commit ad2e63c

Please sign in to comment.