MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / sort_row

Function sort_row

atomic-cli/src/commands/memory/list.rs:627–637  ·  view source on GitHub ↗
(id: &str, updated: &str, about: usize)

Source from the content-addressed store, hash-verified

625 }
626
627 fn sort_row(id: &str, updated: &str, about: usize) -> Row {
628 Row {
629 id: id.to_string(),
630 kind: "lesson".to_string(),
631 status: "active".to_string(),
632 about,
633 attested: Attested::None,
634 verifies: Verifies::Na,
635 updated: updated.to_string(),
636 }
637 }
638
639 fn ids(rows: &[Row]) -> Vec<&str> {
640 rows.iter().map(|r| r.id.as_str()).collect()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected