MCPcopy Index your code
hub / github.com/archlinux/archinstall / is_valid_path

Function is_valid_path

archinstall/lib/utils/util.py:52–53  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

50
51
52def is_valid_path(path: Path) -> bool:
53 return path.exists() and path.is_dir()

Callers 3

saveMethod · 0.90
save_user_configMethod · 0.90
save_user_credsMethod · 0.90

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected