Expand description
History walks: log over a commit’s ancestry (or a branch’s full
history, which is just the ancestry of its head), with metadata-tag
filtering and pagination.
Structs§
- LogFilter
- Filters commits by exact tag match. A commit must carry every listed
key/value pair (in
metadata.tags) to pass. An empty filter matches everything. - LogPage
- A page of
logresults, newest (closest to the requested head) first.
Functions§
- log_
ancestors - Walks the first-parent ancestry of
fromback to the root, newest (i.e.from) first, applyingfilterand thenoffset/limitpagination. This is a plain linear walk —bisect(milestone 7) is the log-n counterpart for narrowing to a single flip point, butlogitself always has to visit every candidate commit to filter and count them.