2023-05-09 06:39:55 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2023 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
class SettingsReader;
|
2023-08-31 19:14:30 +08:00
|
|
|
int64_t defaultCacheEnabled();
|
2023-05-09 06:39:55 +08:00
|
|
|
bool checkDefaultCacheDirSettings(std::string &cacheDir, SettingsReader *reader);
|
2023-08-29 03:09:29 +08:00
|
|
|
time_t getFileModificationTime(const std::string &path);
|
|
|
|
size_t getFileSize(const std::string &path);
|
2023-05-09 06:39:55 +08:00
|
|
|
} // namespace NEO
|