ASAPCabinetFE
 
Loading...
Searching...
No Matches
path_utils.cpp File Reference

Implements the PathUtils class for resolving file paths in ASAPCabinetFE. More...

#include "path_utils.h"
#include "log/logging.h"
#include <filesystem>
#include <algorithm>
#include <cctype>
+ Include dependency graph for path_utils.cpp:

Detailed Description

Implements the PathUtils class for resolving file paths in ASAPCabinetFE.

This file provides the implementation of the PathUtils class, which resolves file paths for images, videos, and music by combining a root directory with custom or default paths. The class uses std::filesystem to check file existence and handles fallbacks with logging for errors or debug information. The methods are configurable via input parameters and can be extended with configUI for user-defined path settings (e.g., custom defaults or validation rules) in the future.