lolautoaccept/include/files.h

15 lines
293 B
C
Raw Normal View History

2022-04-23 22:35:44 +02:00
#pragma once
// stuff required for file handling
#include <string>
// create a directory and its parents
bool mkdirs(const std::string& path);
// get $HOME or a useful default value
std::string getHome();
2022-07-05 23:45:28 +02:00
// folder for caching example: $HOME/.cache/lolautoaccept/
std::string getCache();