MCPcopy
hub / github.com/borgbackup/borg / data

Function data

src/borg/testsuite/benchmark_test.py:44–45  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

42 if data_type == "zeros":
43 # Do not use a binary zero (\\0) to avoid sparse detection.
44 def data(size):
45 return memoryview(zeros)[:size]
46
47 elif data_type == "random":
48

Callers 1

testdataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected