Module branchless::core::eventlog
source · [−]Expand description
Process our event log.
We use Git hooks to record the actions that the user takes over time, and put them in persistent storage. Later, we play back the actions in order to determine what actions the user took on the repository, and which commits they’re still working on.
Modules
Testing helpers.
Structs
Events up to this cursor (exclusive) are available to the caller.
Stores Event
s on disk.
Processes events in order and determine the repo’s visible commits.
The ID associated with the transactions that created an event.
Enums
Whether or not a commit is considered active.
An event that occurred to one of the commits in the repository.
Constants
When this environment variable is set, we reuse the ID for the transaction which the caller has already started.
Functions
Determine whether a given reference is used to keep a commit alive.
Determines whether or not updates to the given reference should be ignored.