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

Method new

libatomic/src/daemon/sandbox_grants.rs:351–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349
350impl InMemorySandboxGrants {
351 pub fn new() -> Self {
352 Self::with_clock(Arc::new(Utc::now))
353 }
354
355 /// A registry reading time from `clock` instead of the system clock
356 /// (tests; a host with its own trusted clock).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected