Skip to main content

Module adapter

Module adapter 

Source
Expand description

Core SourceAdapter trait and result types

The SourceAdapter trait (formerly SubmitAdapter) is the unified abstraction for VCS operations. It combines submit operations (commit, push, open review) with sync operations (fetch upstream, detect conflicts).

Re-exports§

pub use SourceAdapter as SubmitAdapter;

Structs§

CommitResult
Result of a commit operation
MergeResult
Result of merging a review (PR, shelved CL, etc.) into the target branch.
PushResult
Result of a push operation
ReviewResult
Result of opening a review request
ReviewStatus
Status of a VCS review/PR (v0.11.2.3).
SavedVcsState
Opaque saved VCS state for save/restore around apply operations.
SyncResult
Result of a sync operation — pulling upstream changes into the local workspace.

Enums§

SubmitError
Errors that can occur during source operations

Traits§

SourceAdapter
Pluggable adapter for source control operations (submit + sync).

Type Aliases§

Result