MCPcopy
hub / github.com/kopia/kopia / mustGetFileMap

Function mustGetFileMap

cli/command_snapshot_fix_test.go:403–410  ·  view source on GitHub ↗
(t *testing.T, env *testenv.CLITest, root object.ID)

Source from the content-addressed store, hash-verified

401}
402
403func mustGetFileMap(t *testing.T, env *testenv.CLITest, root object.ID) map[string]*snapshot.DirEntry {
404 t.Helper()
405
406 fileMap := map[string]*snapshot.DirEntry{}
407 mustListDirEntries(t, env, fileMap, root, "")
408
409 return fileMap
410}
411
412func mustListDirEntries(t *testing.T, env *testenv.CLITest, out map[string]*snapshot.DirEntry, root object.ID, prefix string) {
413 t.Helper()

Callers 2

TestSnapshotVerifyFunction · 0.85
TestSnapshotFixFunction · 0.85

Calls 2

mustListDirEntriesFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected