MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / string_cell_template

Function string_cell_template

collab/src/database/template/builder.rs:293–302  ·  view source on GitHub ↗
(field_type: &FieldType, cell: Vec<String>)

Source from the content-addressed store, hash-verified

291}
292
293fn string_cell_template(field_type: &FieldType, cell: Vec<String>) -> Vec<CellTemplateData> {
294 cell
295 .into_iter()
296 .map(|data| {
297 let mut cells = new_cell_builder(field_type);
298 cells.insert(CELL_DATA.to_string(), Any::from(data));
299 cells
300 })
301 .collect()
302}

Callers 1

buildMethod · 0.85

Calls 3

new_cell_builderFunction · 0.85
into_iterMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected