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

Function repository_ref

libatomic/src/daemon/services_sandbox.rs:50–54  ·  view source on GitHub ↗
(repository: &Option<RepositoryRef>)

Source from the content-addressed store, hash-verified

48}
49
50fn repository_ref(repository: &Option<RepositoryRef>) -> Result<RepositoryRef, Status> {
51 repository
52 .clone()
53 .ok_or_else(|| domain_status(ErrorCode::InvalidArgument, "repository is required"))
54}
55
56fn joined(error: tokio::task::JoinError) -> Status {
57 Status::internal(error.to_string())

Callers 9

open_sandboxMethod · 0.85
renew_sandboxMethod · 0.85
close_sandboxMethod · 0.85
materializeMethod · 0.85
get_file_statesMethod · 0.85
get_changesMethod · 0.85
publish_provenanceMethod · 0.85
submit_changeMethod · 0.85
submit_attestationMethod · 0.85

Calls 2

domain_statusFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected