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

Function scope_for

atomic-cli/src/commands/delegation.rs:342–349  ·  view source on GitHub ↗
(server: &str)

Source from the content-addressed store, hash-verified

340 }
341
342 fn scope_for(server: &str) -> DelegationScope {
343 DelegationScope::builder()
344 .permission(DelegationPermission::Read)
345 .permission(DelegationPermission::Push)
346 .server(server)
347 .project("acme/*")
348 .build()
349 }
350
351 /// The automation path: a runner is handed a grant in the environment and
352 /// needs nothing installed.

Calls 4

projectMethod · 0.80
serverMethod · 0.80
permissionMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected