mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 15:10:59 +03:00
16 lines
593 B
C++
16 lines
593 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.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#pragma once
|
||
|
||
#include "dmd/globals.h"
|
||
|
||
void pruneCache(const char *cacheDirectoryPtr, d_size_t cacheDirectoryLen,
|
||
uint32_t pruneIntervalSeconds, uint32_t expireIntervalSeconds,
|
||
uinteger_t sizeLimitBytes, uint32_t sizeLimitPercentage);
|