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

Structs

  • Events up to this cursor (exclusive) are available to the caller.
  • Stores Events 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

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.