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

Function import

atomic-cli/tests/it/git_import_corpus_regression_test.rs:57–59  ·  view source on GitHub ↗
(root: &Path, git: &GitRepository, tip: Oid, config: &Path)

Source from the content-addressed store, hash-verified

55}
56
57fn import(root: &Path, git: &GitRepository, tip: Oid, config: &Path) {
58 import_with_args(root, git, tip, config, &["--no-stream"]);
59}
60
61fn import_with_args(root: &Path, git: &GitRepository, tip: Oid, config: &Path, args: &[&str]) {
62 git.reference("refs/heads/main", tip, true, "fixture")

Calls 1

import_with_argsFunction · 0.85

Tested by

no test coverage detected