Skip to main content

Crate fakecloud_codecommit

Crate fakecloud_codecommit 

Source
Expand description

AWS CodeCommit (codecommit) implementation for FakeCloud.

awsJson1.1 git-repository control plane for CodeCommit: repositories with a real content-addressed object store (blobs, trees, commits keyed by 40-char SHA-1 ids), branches and the default branch, file put/delete/read, commit history and differences, pull requests with targets/approvals/events, approval-rule templates and their repository associations, per-revision pull-request approval rules and overrides, comments on commits and pull requests with reactions, repository triggers, and resource tagging.

Everything is real, persisted, and account-partitioned: every Create/ Put/Update round-trips against its Get/List/Describe. Merges are computed against the stored commit graph (fast-forward and non-conflicting three-way/squash resolve; genuinely divergent trees report the declared ManualMergeRequiredException). There is no live git transport, so clone URLs are minted in exact AWS form but no smart-HTTP endpoint is served – the same control-plane-only shape the sibling Code* services use.

Re-exports§

pub use service::CodeCommitService;
pub use service::CODECOMMIT_ACTIONS;
pub use state::CodeCommitSnapshot;
pub use state::CodeCommitState;
pub use state::SharedCodeCommitState;
pub use state::CODECOMMIT_SNAPSHOT_SCHEMA_VERSION;

Modules§

persistence
Snapshot save/load for AWS CodeCommit state.
service
AWS CodeCommit awsJson1.1 dispatch + operation handlers.
state
Account-partitioned, serializable state for AWS CodeCommit.