MCPcopy Create free account
hub / github.com/Lienol/openwrt / _os_func

Method _os_func

scripts/dl_github_archive.py:94–106  ·  view source on GitHub ↗

Call func(path) in an idempotent way. On exception ``ex``, if the type is OSError and ``ex.errno == errno``, return ``default``, otherwise, re-raise

(func, path, errno, default=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_mkdirMethod · 0.80
_rmdirMethod · 0.80
_removeMethod · 0.80
_listdirMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected