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

Function sort_row

atomic-cli/src/commands/intent/list.rs:839–848  ·  view source on GitHub ↗
(id: &str, title: &str, kind: &str, attested: Attested)

Source from the content-addressed store, hash-verified

837 }
838
839 fn sort_row(id: &str, title: &str, kind: &str, attested: Attested) -> Row {
840 Row {
841 human_key: id.to_string(),
842 title: title.to_string(),
843 status: "todo".to_string(),
844 kind: kind.to_string(),
845 attested,
846 verifies: Verifies::Na,
847 }
848 }
849
850 fn keys(rows: &[Row]) -> Vec<&str> {
851 rows.iter().map(|r| r.human_key.as_str()).collect()

Calls

no outgoing calls