Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
161
def
is_directory(directory_path : str) -> bool:
162
if
directory_path:
163
return
os.path.isdir(directory_path)
164
return
False
165
166
167
def
in_directory(file_path : str) -> bool:
Callers
11
create_inference_providers
Function · 0.90
open_stream
Function · 0.90
run
Function · 0.90
apply
Function · 0.90
init_jobs
Function · 0.90
test_is_directory
Function · 0.90
prepare_test_output_directory
Function · 0.90
resolve_file_paths
Function · 0.85
in_directory
Function · 0.85
create_directory
Function · 0.85
remove_directory
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_is_directory
Function · 0.72