MCPcopy Create free account
hub / github.com/PerroEngine/Perro / get_by_header_hash

Method get_by_header_hash

perro_source/core/perro_csv/src/lib.rs:165–168  ·  view source on GitHub ↗
(&self, row: usize, header_hash: u64)

Source from the content-addressed store, hash-verified

163 pub fn row(&self, row: usize) -> Option<&'static CsvRow> {
164 self.rows.get(row)
165 }
166
167 #[inline]
168 pub fn header_index(&self, name: &str) -> Option<usize> {
169 let name_hash = perro_ids::string_to_u64(name);
170 self.headers
171 .iter()

Callers 1

get_by_headerMethod · 0.80

Calls 2

header_index_hashMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected