MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / truncate

Method truncate

Lib/_pyio.py:317–323  ·  view source on GitHub ↗

Truncate file to size bytes. Size defaults to the current IO position as reported by tell(). Return the new size.

(self, pos=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

truncateMethod · 0.45
truncateMethod · 0.45
truncateMethod · 0.45
truncateMethod · 0.45
_append_messageMethod · 0.45
DB_truncateFunction · 0.45

Calls 1

_unsupportedMethod · 0.95

Tested by

no test coverage detected