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

Method rows_for_hash

perro_source/core/perro_csv/src/lib.rs:420–424  ·  view source on GitHub ↗
(&self, hash: u64, out: &mut Vec<usize>)

Source from the content-addressed store, hash-verified

418 let Some(row) = self.rows.get_mut(row) else {
419 return Err(format!("csv row index out of range: {row}"));
420 };
421 let Some(cell) = row.get_mut(col) else {
422 return Err(format!("csv column index out of range: {col}"));
423 };
424 *cell = value.into();
425 Ok(())
426 }
427

Callers 1

candidate_rowsMethod · 0.80

Calls 2

extendMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected