MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / get_bytes

Method get_bytes

ciphercore-base/src/data_values.rs:267–270  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

265 /// Vector of bytes or None.
266 #[cfg_attr(not(feature = "py-binding"), allow(dead_code))]
267 fn get_bytes(&self) -> Option<Vec<u8>> {
268 self.access(|bytes| Ok(Some(bytes.to_vec())), |_sub_values| Ok(None))
269 .unwrap()
270 }
271
272 /// Returns vector of Value if the value is vector of pointers to other values else returns None.
273 ///

Callers 1

populate_valueFunction · 0.80

Calls 1

accessMethod · 0.80

Tested by

no test coverage detected