Skip to main content

Module state

Module state 

Source
Expand description

Account-partitioned, serializable state for AWS CodeCommit.

A repository owns a content-addressed object store: blobs maps a 40-char SHA-1 blob id to its (base64) bytes, and trees maps a commit id to the full flat path -> FileEntry snapshot of that commit’s working tree (a materialized tree, so GetFile/GetFolder/GetDifferences are simple lookups). commits maps a commit id to its stored Commit-shaped JSON, and branches maps a branch name to the commit id at its tip. Pull requests, comments, approval-rule templates and their associations, triggers, and tags are stored as response-shaped JSON so a read returns exactly what was written.

Structs§

CodeCommitSnapshot
CodeCommitState
The account-scoped CodeCommit state for one AWS account.
FileEntry
One entry in a commit’s materialized working tree.
Repo
A single git repository and its content-addressed object store.

Constants§

CODECOMMIT_SNAPSHOT_SCHEMA_VERSION

Type Aliases§

SharedCodeCommitState