Skip to main content

Crate sley_core

Crate sley_core 

Source

Modules§

trace2
Minimal trace2 event-target support (GIT_TRACE2_EVENT).

Structs§

BString
A byte string for git paths and similar on-disk identifiers.
ByteString
Capability
FullName
A validated git ref name (e.g. refs/heads/main, HEAD).
GitTime
A git timestamp: a Unix time plus the committer’s timezone offset.
ObjectId
RepoPath
Signature
A typed parse-view of a git identity line (Name <email> <secs> <tz>) as found on a commit’s author/committer or a tag’s tagger header.

Enums§

CliExit
Git-compatible CLI exit status. See git help exit-code for the upstream taxonomy.
DateMode
GitError
MissingObjectContext
MissingObjectKind
NotFoundKind
ObjectFormat

Constants§

UPSTREAM_GIT_COMPAT_VERSION

Functions§

cli_exit_code
Map a GitError to the process exit code the CLI should use.
digest_bytes
object_id_for_bytes
to_hex

Type Aliases§

Result