MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / runtimeEdgesForFile

Function runtimeEdgesForFile

internal/provenance/explain.go:844–846  ·  view source on GitHub ↗
(db *sql.DB, runID, filePath string)

Source from the content-addressed store, hash-verified

842}
843
844func runtimeEdgesForFile(db *sql.DB, runID, filePath string) ([]ExplainGraphEdge, error) {
845 return runtimeEdgesWhere(db, `run_id = ? AND (from_id = ? OR to_id = ?)`, runID, "workspace_file/"+filePath, "workspace_file/"+filePath)
846}
847
848func runtimeEdgesForID(db *sql.DB, id string) ([]ExplainGraphEdge, error) {
849 if id == "" {

Callers 1

BuildExplainFunction · 0.85

Calls 1

runtimeEdgesWhereFunction · 0.85

Tested by

no test coverage detected