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

Function is_git_import_change

atomic-repository/src/diff_engine.rs:996–1002  ·  view source on GitHub ↗
(change: &Change)

Source from the content-addressed store, hash-verified

994}
995
996fn is_git_import_change(change: &Change) -> bool {
997 change
998 .unhashed
999 .as_ref()
1000 .and_then(|value| value.get("git"))
1001 .is_some()
1002}
1003
1004pub fn build_git_import_file_diffs(change: &Change) -> Option<(Vec<FileDiff>, DiffStats)> {
1005 let diff_files_value = change

Callers 2

change_file_diffs_withFunction · 0.70
change_file_diffs_withFunction · 0.50

Calls 2

as_refMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected