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

Function printJSON

internal/provenance/diff.go:260–264  ·  view source on GitHub ↗
(out io.Writer, value any)

Source from the content-addressed store, hash-verified

258}
259
260func printJSON(out io.Writer, value any) error {
261 enc := json.NewEncoder(out)
262 enc.SetIndent("", " ")
263 return enc.Encode(value)
264}
265
266func BlameFile(db *sql.DB, runID, filePath string, out io.Writer) error {
267 manifest, err := BuildBlameFile(db, runID, filePath)

Callers 3

TrajectoriesRunJSONFunction · 0.70
DiffFileJSONFunction · 0.70
BlameFileJSONFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected