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

Method begin

atomic-cli/src/commands/clone/helpers.rs:324–329  ·  view source on GitHub ↗

Open the pre-repository transport boundary. No working-copy ID exists or is fabricated here; Git-checkout adoption (`--into-existing`) stays a CB-10A bootstrap and is refused for Atomic materialization.

(target_path: PathBuf)

Source from the content-addressed store, hash-verified

322 /// or is fabricated here; Git-checkout adoption (`--into-existing`) stays
323 /// a CB-10A bootstrap and is refused for Atomic materialization.
324 pub fn begin(target_path: PathBuf) -> Self {
325 Self {
326 url: String::new(),
327 target_path,
328 }
329 }
330
331 /// The transport phase has no working-copy authority by construction.
332 pub fn working_copy(&self) -> Option<atomic_core::WorkingCopyId> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected