Class DirCacheIterator

  • Direct Known Subclasses:
    DirCacheBuildIterator

    public class DirCacheIterator
    extends AbstractTreeIterator
    Iterate a DirCache as part of a TreeWalk.

    This is an iterator to adapt a loaded DirCache instance (such as read from an existing .git/index file) to the tree structure used by a TreeWalk, making it possible for applications to walk over any combination of tree objects already in the object database, index files, or working directories.

    See Also:
    TreeWalk