MCPcopy Index your code
hub / github.com/kopia/kopia / contentIDRange

Method contentIDRange

cli/command_content_range_flags.go:22–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (c *contentRangeFlags) contentIDRange() content.IDRange {
23 if c.contentIDPrefixed {
24 return index.AllPrefixedIDs
25 }
26
27 if c.contentIDNonPrefixed {
28 return index.AllNonPrefixedIDs
29 }
30
31 return index.PrefixRange(content.IDPrefix(c.contentIDPrefix))
32}

Callers 5

runMethod · 0.80
getTotalContentCountMethod · 0.80
calculateStatsMethod · 0.80
runMethod · 0.80

Calls 1

PrefixRangeFunction · 0.92

Tested by

no test coverage detected