Create a read-only scope.
()
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected