MCPcopy
hub / github.com/kopia/kopia / unmarshalSnapVerify

Function unmarshalSnapVerify

cli/command_snapshot_verify_test.go:143–150  ·  view source on GitHub ↗
(t *testing.T, stdout string)

Source from the content-addressed store, hash-verified

141}
142
143func unmarshalSnapVerify(t *testing.T, stdout string) *snapshotfs.VerifierResult {
144 t.Helper()
145
146 r := &snapshotfs.VerifierResult{}
147 require.NoError(t, json.Unmarshal([]byte(stdout), r))
148
149 return r
150}

Callers 1

TestSnapshotVerifyFunction · 0.85

Calls 1

HelperMethod · 0.80

Tested by

no test coverage detected