MCPcopy Index your code
hub / github.com/pyload/pyload / change_mode

Function change_mode

pavement.py:327–332  ·  view source on GitHub ↗
(dir, mode, folder=False)

Source from the content-addressed store, hash-verified

325
326
327def change_mode(dir, mode, folder=False):
328 for p in dir.walk():
329 if folder and p.isdir():
330 p.chmod(mode)
331 elif p.isfile() and not folder:
332 p.chmod(mode)

Callers 1

get_sourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected