MCPcopy
hub / github.com/facefusion/facefusion / is_directory

Function is_directory

facefusion/filesystem.py:161–164  ·  view source on GitHub ↗
(directory_path : str)

Source from the content-addressed store, hash-verified

159
160
161def is_directory(directory_path : str) -> bool:
162 if directory_path:
163 return os.path.isdir(directory_path)
164 return False
165
166
167def in_directory(file_path : str) -> bool:

Callers 11

open_streamFunction · 0.90
runFunction · 0.90
applyFunction · 0.90
init_jobsFunction · 0.90
test_is_directoryFunction · 0.90
resolve_file_pathsFunction · 0.85
in_directoryFunction · 0.85
create_directoryFunction · 0.85
remove_directoryFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_is_directoryFunction · 0.72