MCPcopy Create free account
hub / github.com/hashintel/hash / str_value

Function str_value

libs/@local/hashql/eval/src/orchestrator/codec/decode/tests.rs:14–16  ·  view source on GitHub ↗
(content: &str)

Source from the content-addressed store, hash-verified

12use crate::intern::Interner;
13
14fn str_value(content: &str) -> Value<'_, Global> {
15 Value::String(value::Str::from(Rc::<str>::from(content)))
16}
17
18fn decoder<'env, 'heap>(
19 env: &'env Environment<'heap>,

Callers

nothing calls this directly

Calls 2

StringClass · 0.85
fromFunction · 0.50

Tested by

no test coverage detected