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

Function leak_cells

perro_source/core/perro_csv/src/lib.rs:1032–1043  ·  view source on GitHub ↗
(
    values: impl Iterator<Item = &'a str>,
    interner: &mut LocalCsvInterner,
)

Source from the content-addressed store, hash-verified

1030 }
1031}
1032
1033pub struct CSVQueryRows<'a> {
1034 result: &'a CSVQueryResult,
1035 index: usize,
1036}
1037
1038impl<'a> Iterator for CSVQueryRows<'a> {
1039 type Item = CSVQueryRow<'a>;
1040
1041 fn next(&mut self) -> Option<Self::Item> {
1042 let row = self.result.row(self.index)?;
1043 self.index += 1;
1044 Some(row)
1045 }
1046}

Callers 1

parse_csv_staticFunction · 0.85

Calls 2

string_to_u64Function · 0.85
internMethod · 0.45

Tested by

no test coverage detected