Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ allows
Method
allows
libatomic/src/daemon/sandbox_grants.rs:161–163 ·
view source on GitHub ↗
(&self, capability: &str)
Source
from the content-addressed store, hash-verified
159
160
impl SandboxGrant {
161
pub fn allows(&self, capability: &str) -> bool {
162
self.capabilities.contains(capability)
163
}
164
165
pub fn is_live_at(&self, now: DateTime<Utc>) -> bool {
166
self.expires > now
Callers
1
require
Method · 0.45
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected