MCPcopy Index your code
hub / github.com/python/cpython / setxattr

Method setxattr

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

Source from the content-addressed store, hash-verified

3824 with open(path, "rb") as fp:
3825 return os.getxattr(fp.fileno(), *args)
3826 def setxattr(path, *args):
3827 with open(path, "wb", 0) as fp:
3828 os.setxattr(fp.fileno(), *args)
3829 def removexattr(path, *args):
3830 with open(path, "wb", 0) as fp:
3831 os.removexattr(fp.fileno(), *args)

Callers 9

_copyxattrFunction · 0.80
_copy_infoFunction · 0.80
test_copyxattrMethod · 0.80
test_copy2_xattrMethod · 0.80
can_xattrFunction · 0.80

Calls 2

openFunction · 0.50
filenoMethod · 0.45

Tested by

no test coverage detected