Lens AI Profiler Cpp
include
generic.h
1
#ifndef GENERIC_H
2
#define GENERIC_H
3
4
#include <string>
// For std::string
5
6
// Forward declaration for potential future class usage (optional)
7
// class FileSystemHelper;
8
9
namespace
fs = std::filesystem;
// Namespace alias for readability
10
22
bool
createFolderIfNotExists(
const
std::string& statSavepath,
const
std::string& dataSavepath);
23
24
bool
createFolder(
const
std::string& Savepath);
25
int
acquire_lock(
const
std::string& file_path);
26
int
release_lock(
int
fd);
27
28
#endif
// GENERIC_H
29
Generated by
1.9.1