MCPcopy Create free account
hub / github.com/crawshaw/jsonfile / DB

Struct DB

jsonfile_test.go:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69func TestRollbackOnProgramError(t *testing.T) {
70 t.Parallel()
71 type DB struct{ Val int }
72
73 path := filepath.Join(t.TempDir(), "testrollback.json")
74 db, err := New[DB](path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected