MCPcopy Index your code
hub / github.com/RustPython/RustPython / getxattr

Method getxattr

Lib/test/test_os.py:4113–4115  ·  view source on GitHub ↗
(path, *args)

Source from the content-addressed store, hash-verified

4111
4112 def test_fds(self):
4113 def getxattr(path, *args):
4114 with open(path, "rb") as fp:
4115 return os.getxattr(fp.fileno(), *args)
4116 def setxattr(path, *args):
4117 with open(path, "wb", 0) as fp:
4118 os.setxattr(fp.fileno(), *args)

Callers 7

_copyxattrFunction · 0.80
_xattrsMethod · 0.80
test_copyxattrMethod · 0.80
test_copy2_xattrMethod · 0.80

Calls 2

openFunction · 0.50
filenoMethod · 0.45

Tested by

no test coverage detected