Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ chmod_func
Function
chmod_func
Lib/shutil.py:373–374 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
371
stat_func = _stat
372
if
os.name ==
'nt'
and os.path.islink(dst):
373
def
chmod_func(*args):
374
os.chmod(*args, follow_symlinks=True)
375
else
:
376
chmod_func = os.chmod
377
Callers
4
copymode
Function · 0.85
check_chmod
Method · 0.85
check_chmod_link
Method · 0.85
check_lchmod_link
Method · 0.85
Calls
1
chmod
Method · 0.45
Tested by
3
check_chmod
Method · 0.68
check_chmod_link
Method · 0.68
check_lchmod_link
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…