MCPcopy Index your code
hub / github.com/HairlessVillager/minecommit / put

Method put

minecommit/src/handler/mod.rs:94–96  ·  view source on GitHub ↗
(&mut self, key: &str, value: impl AsRef<[u8]>)

Source from the content-addressed store, hash-verified

92
93impl<W: OdbWriter> OdbWriter for PrefixedWriter<'_, W> {
94 fn put(&mut self, key: &str, value: impl AsRef<[u8]>) -> Result<()> {
95 self.inner.put(&self.prefixed(key), value)
96 }
97
98 fn put_par(
99 &mut self,

Callers 10

flattenMethod · 0.45
unflattenMethod · 0.45
flattenMethod · 0.45
unflattenMethod · 0.45
flattenMethod · 0.45
unflattenMethod · 0.45
flattenMethod · 0.45
unflattenMethod · 0.45
flattenMethod · 0.45
unflattenMethod · 0.45

Calls 1

prefixedMethod · 0.80

Tested by

no test coverage detected