One-line preview of a body (first 160 chars, newlines collapsed).
(body: &str)
| 333 | |
| 334 | /// One-line preview of a body (first 160 chars, newlines collapsed). |
| 335 | fn preview(body: &str) -> String { |
| 336 | let flat: String = body.split_whitespace().collect::<Vec<_>>().join(" "); |
| 337 | truncate_chars(&flat, 160) |
| 338 | } |
| 339 | |
| 340 | /// Gather candidate memory nodes from all seeds: an intent's terms and |
| 341 | /// graph neighbors, file neighbors, keyword search, body-term matches. |
nothing calls this directly
no test coverage detected