Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borgbackup/borg
/ truncate
Method
truncate
src/borg/testsuite/remote_test.py:182–183 ·
view source on GitHub ↗
(self, n=None)
Source
from the content-addressed store, hash-verified
180
raise
OSError(errno.ENOSPC,
"foo"
)
181
182
def
truncate(self, n=None):
183
pass
184
185
iterator = cache.get_many([H(1), H(2), H(3)])
186
assert pdchunk(next(iterator)) == b
"1234"
Callers
10
flush
Method · 0.80
extract_item
Method · 0.80
safe_unlink
Function · 0.80
test_unknown_integrity_version
Function · 0.80
_subtly_corrupted_hints_setup
Function · 0.80
test_multiple_loggers
Function · 0.80
test_cache_corruption
Method · 0.80
test_sparse_file
Function · 0.80
test_extract_continue
Function · 0.80
make_sparsefile
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected