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

Method gettarinfo

Lib/tarfile.py:1815–1911  ·  view source on GitHub ↗

Create a TarInfo object for either the file `name' or the file object `fileobj' (using os.fstat on its file descriptor). You can modify some of the TarInfo's attributes before you add it using addfile(). If given, `arcname' specifies an alternative name for the

(self, name=None, arcname=None, fileobj=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addMethod · 0.95

Calls 5

_checkMethod · 0.95
lstripMethod · 0.80
replaceMethod · 0.45
statMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected