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

Method get

crates/openshell-server/src/persistence/mod.rs:278–284  ·  view source on GitHub ↗

Fetch an object by id.

(
        &self,
        object_type: &str,
        id: &str,
    )

Source from the content-addressed store, hash-verified

276
277 /// Fetch an object by id.
278 pub async fn get(
279 &self,
280 object_type: &str,
281 id: &str,
282 ) -> PersistenceResult<Option<ObjectRecord>> {
283 store_dispatch!(self.get(object_type, id))
284 }
285
286 /// Fetch an object by name within an object type.
287 pub async fn get_by_name(

Callers 15

host_headerFunction · 0.45
header_value_isFunction · 0.45
header_contains_tokenFunction · 0.45
make_request_spanFunction · 0.45
callMethod · 0.45
grpc_statusFunction · 0.45
material_valueFunction · 0.45

Calls

no outgoing calls