Floating rules are now isolated between workspaces

This commit is contained in:
2025-06-11 11:48:31 +02:00
parent d9d2a74f02
commit b400cb539f
8 changed files with 176 additions and 16 deletions

View File

@@ -1,13 +1,17 @@
#ifndef FILE_SERVICES_H
#define FILE_SERVICES_H
#ifndef FILE_SERVICE_H
#define FILE_SERVICE_H
#include <string>
#include <vector>
class FileServices {
class FileService {
public:
static bool doesNonEmptyFileExist(std::string);
static void emptyFile(std::string);
static void createOrOverwriteFile(std::string, std::string);
static void appendToFile(std::string, std::string);
static void deleteNthLine(std::string, int);
static std::vector<std::string> readLines(std::string);
};
#endif