MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _is_immutable

Function _is_immutable

tools/python-3.11.9-amd64/Lib/shutil.py:886–889  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

884 return dst.startswith(src)
885
886def _is_immutable(src):
887 st = _stat(src)
888 immutable_states = [stat.UF_IMMUTABLE, stat.SF_IMMUTABLE]
889 return hasattr(st, 'st_flags') and st.st_flags in immutable_states
890
891def _get_gid(name):
892 """Returns a gid, given a group name."""

Callers 1

moveFunction · 0.85

Calls 1

_statFunction · 0.85

Tested by

no test coverage detected