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

Method build

perro_source/core/perro_csv/src/lib.rs:409–418  ·  view source on GitHub ↗
(table: &Csv, col: usize)

Source from the content-addressed store, hash-verified

407 return Err(format!(
408 "csv row has {} columns, expected {}",
409 row.len(),
410 self.headers.len()
411 ));
412 }
413 self.rows.push(row);
414 Ok(())
415 }
416
417 pub fn set(&mut self, row: usize, col: usize, value: impl Into<String>) -> Result<(), String> {
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 {

Callers 10

build_agentFunction · 0.80
tls_configFunction · 0.80
send_requestFunction · 0.80
spawn_ble_manager_threadFunction · 0.80
build_rigid_body_2dFunction · 0.80
build_rigid_body_3dFunction · 0.80
collider_builder_2dFunction · 0.80
collider_builder_3dFunction · 0.80

Calls 4

lenMethod · 0.45
iterMethod · 0.45
getMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected