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

Function gen_blob

crates/ixon/src/serialize.rs:2233–2236  ·  view source on GitHub ↗
(g: &mut Gen)

Source from the content-addressed store, hash-verified

2231 // entries can be re-parsed standalone later (the diff meta sweep);
2232 // the Address→Name lookup is dropped (LazyNamed carries the Names).
2233 let num_names = get_u64(&mut buf)?;
2234 let mut names_lookup: FxHashMap<Address, Name> = FxHashMap::default();
2235 let mut name_reverse_index: NameReverseIndex =
2236 Vec::with_capacity(num_names as usize + 1);
2237 let anon_addr = Address::from_blake3_hash(*Name::anon().get_hash());
2238 names_lookup.insert(anon_addr, Name::anon());
2239 for _ in 0..num_names {

Callers 1

gen_envFunction · 0.85

Calls 1

gen_rangeFunction · 0.85

Tested by

no test coverage detected