Module git

Source
Expand description

§Atom Publishing for a Git Store

This module provides the types and logical necessary to efficienctly publish Atoms to a Git repository. Atom’s are stored as orphaned git histories so they can be efficiently fetched. For trivial verification, an Atom’s commit hash is made reproducible by using constants for the timestamps and meta-data.

Additionally, a git reference is stored under the Atom’s ref path to the original source, ensuring it is never garbage collected and an Atom can always be verified.

A hexadecimal representation of the source commit is also stored in the reproducible Atom commit header, ensuring it is tied to its source in an unforgable manner.

Structs§

CommittedAtom
Struct to hold the result of writing atom commits
GitContent
The Git specific content which will be returned for presenting to the user after an Atom is successfully published.
GitContext
Holds the shared context needed for publishing Atoms.
GitPublisher
The type representing a Git specific Atom publisher.

Type Aliases§

GitOutcome
The Outcome of an Atom publish attempt to a Git store.
GitResult
The Result type used for various methods during publishing to a Git store.