MCPcopy Create free account
hub / github.com/driangle/taskmd / outputSnapshotJSON

Function outputSnapshotJSON

apps/cli/internal/cli/snapshot_output.go:11–13  ·  view source on GitHub ↗

outputSnapshotJSON outputs snapshot as JSON

(output any, outFile *os.File)

Source from the content-addressed store, hash-verified

9
10// outputSnapshotJSON outputs snapshot as JSON
11func outputSnapshotJSON(output any, outFile *os.File) error {
12 return WriteJSON(outFile, output)
13}
14
15// outputSnapshotYAML outputs snapshot as YAML
16func outputSnapshotYAML(output any, outFile *os.File) error {

Callers 1

runSnapshotFunction · 0.85

Calls 1

WriteJSONFunction · 0.85

Tested by

no test coverage detected