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

Function string_value

crates/openshell-server/src/compute/mod.rs:2127–2131  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

2125 use tokio::sync::{mpsc, oneshot};
2126
2127 fn string_value(value: &str) -> prost_types::Value {
2128 prost_types::Value {
2129 kind: Some(prost_types::value::Kind::StringValue(value.to_string())),
2130 }
2131 }
2132
2133 fn number_value(value: f64) -> prost_types::Value {
2134 prost_types::Value {

Calls

no outgoing calls