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

Method put

crates/openshell-server/src/persistence/mod.rs:594–603  ·  view source on GitHub ↗
(
        &self,
        object_type: &str,
        id: &str,
        name: &str,
        payload: &[u8],
        labels: Option<&str>,
    )

Source from the content-addressed store, hash-verified

592#[cfg(test)]
593impl Store {
594 pub async fn put(
595 &self,
596 object_type: &str,
597 id: &str,
598 name: &str,
599 payload: &[u8],
600 labels: Option<&str>,
601 ) -> PersistenceResult<()> {
602 store_dispatch!(self.put(object_type, id, name, payload, labels))
603 }
604
605 pub async fn put_message<T: Message + ObjectType + ObjectId + ObjectName + ObjectLabels>(
606 &self,

Callers 15

put_messageMethod · 0.45
sqlite_updates_timestampFunction · 0.45
sqlite_list_pagingFunction · 0.45
sqlite_delete_behaviorFunction · 0.45
sqlite_get_by_nameFunction · 0.45
sqlite_delete_by_nameFunction · 0.45
labels_round_tripFunction · 0.45

Calls

no outgoing calls

Tested by 14

sqlite_updates_timestampFunction · 0.36
sqlite_list_pagingFunction · 0.36
sqlite_delete_behaviorFunction · 0.36
sqlite_get_by_nameFunction · 0.36
sqlite_delete_by_nameFunction · 0.36
labels_round_tripFunction · 0.36
label_selector_no_matchFunction · 0.36