MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_git_import_change

Method is_git_import_change

atomic-cli/src/commands/diff/helpers.rs:515–521  ·  view source on GitHub ↗
(change: &Change)

Source from the content-addressed store, hash-verified

513 }
514
515 fn is_git_import_change(change: &Change) -> bool {
516 change
517 .unhashed
518 .as_ref()
519 .and_then(|value| value.get("git"))
520 .is_some()
521 }
522
523 pub(crate) fn build_git_import_file_diffs(
524 change: &Change,

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected