Skip to main content

Module log

Module log 

Source
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 log results, newest (closest to the requested head) first.

Functions§

log_ancestors
Walks the first-parent ancestry of from back to the root, newest (i.e. from) first, applying filter and then offset/limit pagination. This is a plain linear walk — bisect (milestone 7) is the log-n counterpart for narrowing to a single flip point, but log itself always has to visit every candidate commit to filter and count them.