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

Method read_only

atomic-identity/src/delegation.rs:300–305  ·  view source on GitHub ↗

Create a read-only scope.

()

Source from the content-addressed store, hash-verified

298
299 /// Create a read-only scope.
300 pub fn read_only() -> Self {
301 Self {
302 permissions: vec![DelegationPermission::Read, DelegationPermission::Pull],
303 ..Default::default()
304 }
305 }
306
307 /// Create a scope suited to a CI/CD agent: read, record, push, pull.
308 pub fn ci_cd() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected