MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / indexed_files

Function indexed_files

src/dashboard/code_diagnostics_api.rs:301–312  ·  view source on GitHub ↗
(conn: &libsql::Connection)

Source from the content-addressed store, hash-verified

299}
300
301async fn indexed_files(conn: &libsql::Connection) -> crate::errors::Result<Vec<String>> {
302 let mut rows = conn
303 .query("SELECT path FROM files ORDER BY path ASC", ())
304 .await?;
305 let mut files = Vec::new();
306 while let Some(row) = rows.next().await? {
307 if let Ok(path) = row.get::<String>(0) {
308 files.push(path);
309 }
310 }
311 Ok(files)
312}
313
314fn bad_request(err: &impl ToString) -> JsonError {
315 (

Callers 2

refresh_one_reconciledFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected