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

Function all_git_objects_on

atomic-cli/tests/it/git_binding_cb6b_test.rs:531–543  ·  view source on GitHub ↗
(dir: &Path)

Source from the content-addressed store, hash-verified

529}
530
531fn all_git_objects_on(dir: &Path) -> Vec<u8> {
532 let out = Command::new("git")
533 .args(["cat-file", "--batch-all-objects", "--batch"])
534 .current_dir(dir)
535 .output()
536 .expect("git cat-file");
537 assert!(
538 out.status.success(),
539 "cat-file failed: {}",
540 output_text(&out)
541 );
542 out.stdout
543}
544
545#[test]
546fn namespace_rejection_is_an_explicit_diagnostic() {

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected