|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
#include <filesystem>

Go to the source code of this file.
Namespaces | |
| namespace | util |
| Utility components and helper types for the LogViewer application. | |
| namespace | util::portable |
Functions | |
| std::filesystem::path | util::portable::ExecutableDir () |
| Directory containing the running executable (empty if it cannot be found). | |
| bool | util::portable::IsPortable () |
| True when the marker file exists next to the executable. | |
| std::filesystem::path | util::portable::DataDir () |
<executable dir>/data in portable mode, empty otherwise. Not created here. | |
| void | util::portable::OverrideExecutableDirForTesting (const std::filesystem::path &dir) |
Tests: pretend the executable lives in dir. Empty path restores the real one. | |
Variables | |
| constexpr const char * | util::portable::kMarkerFile = "portable.txt" |
| constexpr const char * | util::portable::kDataDirName = "data" |