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

Method listxattr

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

Source from the content-addressed store, hash-verified

4120 with open(path, "wb", 0) as fp:
4121 os.removexattr(fp.fileno(), *args)
4122 def listxattr(path, *args):
4123 with open(path, "rb") as fp:
4124 return os.listxattr(fp.fileno(), *args)
4125 self._check_xattrs(getxattr, setxattr, removexattr, listxattr)
4126
4127

Callers 3

_copyxattrFunction · 0.80
_xattrsMethod · 0.80
test_copyxattrMethod · 0.80

Calls 2

openFunction · 0.50
filenoMethod · 0.45

Tested by

no test coverage detected