MCPcopy Create free account
hub / github.com/ForgeAILab/forge / map_runtime

Function map_runtime

crates/db/src/sqlite.rs:316–327  ·  view source on GitHub ↗
(row: SqliteRow)

Source from the content-addressed store, hash-verified

314}
315
316fn map_runtime(row: SqliteRow) -> Result<Runtime> {
317 Ok(Runtime {
318 id: row.try_get("id")?,
319 daemon_id: row.try_get("daemon_id")?,
320 kind: row.try_get("kind")?,
321 workspace_root: row.try_get("workspace_root")?,
322 status: parse_enum(row.try_get::<String, _>("status")?)?,
323 labels_json: row.try_get("labels_json")?,
324 created_at: row.try_get("created_at")?,
325 updated_at: row.try_get("updated_at")?,
326 })
327}
328
329fn map_skill(row: SqliteRow) -> Result<Skill> {
330 Ok(Skill {

Callers

nothing calls this directly

Calls 1

parse_enumFunction · 0.85

Tested by

no test coverage detected