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

Method chmod

Lib/pathlib/__init__.py:1023–1027  ·  view source on GitHub ↗

Change the permissions of the path, like os.chmod().

(self, mode, *, follow_symlinks=True)

Source from the content-addressed store, hash-verified

1021 raise
1022
1023 def chmod(self, mode, *, follow_symlinks=True):
1024 """
1025 Change the permissions of the path, like os.chmod().
1026 """
1027 os.chmod(self, mode, follow_symlinks=follow_symlinks)
1028
1029 def lchmod(self, mode):
1030 """

Callers 15

create_archiveFunction · 0.95
lchmodMethod · 0.95
copy_infoFunction · 0.45
test_securityMethod · 0.45
tearDownMethod · 0.45
create_readonly_fileMethod · 0.45
test_args_stringMethod · 0.45
test_call_stringMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_securityMethod · 0.36
tearDownMethod · 0.36
create_readonly_fileMethod · 0.36
test_args_stringMethod · 0.36
test_call_stringMethod · 0.36
test_modeMethod · 0.36