mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-08 19:41:49 +00:00
16 lines
490 B
C++
16 lines
490 B
C++
#pragma once
|
|
|
|
#include <switch.h>
|
|
#include <set>
|
|
#include <json.hpp>
|
|
|
|
namespace fs
|
|
{
|
|
int removeDir(const char* path);
|
|
nlohmann::ordered_json parseJsonFile(const std::string& path);
|
|
void writeJsonToFile(nlohmann::json &data, const std::string& path);
|
|
bool copyFile(const std::string& from, const std::string& to);
|
|
std::string copyFiles(const std::string& path);
|
|
void createTree(std::string path);
|
|
std::set<std::string> readLineByLine(const std::string& path);
|
|
}
|