Expand description
§Atom Git Store
This module contains the foundational types for the Git implementation of an Ekala store.
In particular, the implementation to initialize (Init
) a Git repository as an Ekala store
is contained here, as well as the type representing the Root
of history used for an
crate::AtomId
.
Structs§
- Root
- The wrapper type for the underlying type which will be used to represent
the “root” identifier for an
crate::AtomId
. For git, this is a [gix::ObjectId
] representing the original commit made in the repositories history.
Enums§
- Error
- An error encountered during initialization or other git store operations.
Functions§
- default_
remote - Return a static reference to the default remote configured for pushing
- repo
- Return a static reference the the local Git repository.
- run_
git_ command - Run’s the git binary, returning the output or the err, depending on the return value.