MCPcopy Create free account
hub / github.com/pytorch/executorch / check_folder

Function check_folder

install_executorch.py:133–134  ·  view source on GitHub ↗
(folder: str, file: str)

Source from the content-addressed store, hash-verified

131
132def check_and_update_submodules():
133 def check_folder(folder: str, file: str) -> bool:
134 return os.path.isdir(folder) and os.path.isfile(os.path.join(folder, file))
135
136 # Check if the directories exist for each required submodule
137 missing_submodules = {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected