MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / new

Method new

crates/openshell-server/src/compute/lease.rs:76–82  ·  view source on GitHub ↗
(store: Arc<Store>, replica_id: String, ttl: Duration)

Source from the content-addressed store, hash-verified

74
75impl ReconcilerLease {
76 pub fn new(store: Arc<Store>, replica_id: String, ttl: Duration) -> Self {
77 Self {
78 store,
79 replica_id,
80 ttl,
81 }
82 }
83
84 pub fn replica_id(&self) -> &str {
85 &self.replica_id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected