src.visuals.ui.compile_ui module
- src.visuals.ui.compile_ui.find_file_in_path(base_abs_path, target_filename)[source]
Searches recursively for a file name within an absolute base path and returns its absolute path.
- Parameters:
base_abs_path (str) – Absolute path to the directory to search in.
target_filename (str) – Name of the file to look for.
- Returns:
Absolute path of the first matching file.
- Return type:
str
- Raises:
ValueError – If the provided base path is not absolute.
FileNotFoundError – If the base directory does not exist or the file is not found.
Dependency Diagrams (without externals):
Dependency Diagrams:
![digraph imports {
rankdir=LR;
node [shape=box];
}](../_images/graphviz-c6e9fa7fbf6fcd935e57814d698c7304dcbc9ea9.png)
![digraph imports {
rankdir=LR;
node [shape=box];
"src.visuals.ui.compile_ui" -> "__future__";
"src.visuals.ui.compile_ui" -> "loguru";
"src.visuals.ui.compile_ui" -> "os";
"src.visuals.ui.compile_ui" -> "pathlib";
"src.visuals.ui.compile_ui" -> "platform";
"src.visuals.ui.compile_ui" -> "subprocess";
}](../_images/graphviz-d7e7dfcd4e9a71740dcd547cda3691ada1da055d.png)