MCPcopy Create free account
hub / github.com/clawshell/clawshell / AmbiguityResolver

Interface AmbiguityResolver

src/migration/core.rs:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85pub trait AmbiguityResolver: std::fmt::Debug {
86 fn resolve(
87 &mut self,
88 issue: &MigrationIssue,
89 ) -> Result<AmbiguousChoice, AmbiguityResolutionError>;
90}
91
92#[cfg(test)]
93mod tests {

Callers

nothing calls this directly

Implementers 7

main.rssrc/main.rs
test_migrate_stamps_version_when_missingsrc/migration/targets/clawshell_toml/m
test_migrate_with_both_upstream_keys_aborts_by_defaultsrc/migration/targets/clawshell_toml/m
test_migrate_with_both_upstream_keys_skip_drops_legacysrc/migration/targets/clawshell_toml/m
to_v0_2_1.rssrc/migration/targets/clawshell_toml/v
mod.rssrc/migration/targets/clawshell_toml/v
to_v0_1_0_alpha_0.rssrc/migration/targets/clawshell_toml/v

Calls

no outgoing calls

Tested by

no test coverage detected