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