MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / is_writable

Function is_writable

tools/cache.py:25–26  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

23
24
25def is_writable(path):
26 return os.access(path, os.W_OK)
27
28
29def acquire_cache_lock(reason):

Callers 1

acquire_cache_lockFunction · 0.85

Calls 1

accessMethod · 0.45

Tested by

no test coverage detected