|
RTC Toolkit 6.0.0
|
Functions | |
| find_file (filepath, root_directories=["CFGPATH"], resource_directories=["config", "audio", "image", "model", "dictionary", "data"], exception=False) | |
| Verifies that the given input file path exist in one of the root directories. | |
| resolve_path (path) | |
| Resolve the given path. | |
| generator.file_helper.find_file | ( | filepath, | |
| root_directories = ["CFGPATH"], | |||
| resource_directories = ["config", "audio", "image", "model", "dictionary", "data"], | |||
| exception = False ) |
Verifies that the given input file path exist in one of the root directories.
Root directories are iterated by order and will stop the process when one full path is valid In case the filepath is found the result is returned
| generator.file_helper.resolve_path | ( | path | ) |
Resolve the given path.