Files
ANSLibs/ANS-HWiNFO/HWIFO/include/hwinfo/utils/filesystem.h

25 lines
508 B
C
Raw Normal View History

#pragma once
#include <hwinfo/cpu.h>
#include <string>
#include <vector>
namespace hwinfo {
namespace filesystem {
bool exists(const std::string& path);
std::vector<std::string> getDirectoryEntries(const std::string& path);
#if defined(HWINFO_UNIX) || defined(HWINFO_APPLE)
int64_t get_specs_by_file_path(const std::string& path);
#endif // HWINFO_UNIX || HWINFO_APPLE
#if defined(HWINFO_UNIX)
Jiffies get_jiffies(int index);
#endif // HWINFO_UNIX
} // namespace filesystem
} // namespace hwinfo