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

Function reject_scoped_vault_read

libatomic/src/daemon/services_agent.rs:660–667  ·  view source on GitHub ↗

Vault storage is currently repository-wide. Never silently pretend that a requested view has been applied; scoped reads need the future vault overlay.

(view: &Option<ViewRef>)

Source from the content-addressed store, hash-verified

658// Vault storage is currently repository-wide. Never silently pretend that a
659// requested view has been applied; scoped reads need the future vault overlay.
660fn reject_scoped_vault_read(view: &Option<ViewRef>) -> Result<(), Status> {
661 if view.is_some() {
662 return Err(Status::unimplemented(
663 "view-scoped vault reads are not available",
664 ));
665 }
666 Ok(())
667}
668
669fn parse_frontmatter(
670 entry: &atomic_core::pristine::VaultEntry,

Callers 4

get_vault_entryMethod · 0.85
list_vault_entriesMethod · 0.85
get_vault_contextMethod · 0.85
verify_attestationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected