pub trait BackendChangeReader {
// Required methods
fn list_changes(&self) -> Result<Vec<ChangeSummary>, DomainError>;
fn get_change(&self, change_id: &str) -> Result<Change, DomainError>;
}Expand description
Port for backend-backed change listing (read path).
Used by repository adapters to resolve change data from the backend instead of the filesystem when backend mode is enabled.
Required Methods§
Sourcefn list_changes(&self) -> Result<Vec<ChangeSummary>, DomainError>
fn list_changes(&self) -> Result<Vec<ChangeSummary>, DomainError>
List all change summaries from the backend.
Sourcefn get_change(&self, change_id: &str) -> Result<Change, DomainError>
fn get_change(&self, change_id: &str) -> Result<Change, DomainError>
Get a full change from the backend.