mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
19 lines
668 B
C++
19 lines
668 B
C++
//===-- driver/cache_pruning.h ----------------------------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_DRIVER_IR2OBJ_CACHE_PRUNING_H
|
||
#define LDC_DRIVER_IR2OBJ_CACHE_PRUNING_H
|
||
|
||
#include "globals.h"
|
||
|
||
void pruneCache(const char *cacheDirectoryPtr, d_size_t cacheDirectoryLen,
|
||
uint32_t pruneIntervalSeconds, uint32_t expireIntervalSeconds,
|
||
uinteger_t sizeLimitBytes, uint32_t sizeLimitPercentage);
|
||
|
||
#endif
|