MCPcopy Create free account
hub / github.com/argumentcomputer/ix / get_mdata_stack_indexed

Function get_mdata_stack_indexed

crates/ixon/src/metadata.rs:775–785  ·  view source on GitHub ↗
(
  buf: &mut &[u8],
  rev: &NameReverseIndex,
)

Source from the content-addressed store, hash-verified

773 Indexed(&'a NameIndex),
774 Raw,
775}
776
777/// Decoding counterpart of [`NamePut`].
778#[derive(Clone, Copy)]
779pub enum NameGet<'a> {
780 Indexed(&'a NameReverseIndex),
781 Raw,
782}
783
784pub(super) fn put_idx(
785 addr: &Address,
786 idx: NamePut<'_>,
787 buf: &mut Vec<u8>,
788) -> Result<(), String> {

Callers 1

get_indexedMethod · 0.85

Calls 3

get_vec_lenFunction · 0.85
get_kvmap_indexedFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected