mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
CachePruning: fix typo, we accumulate file size here, not time
From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,7 +76,7 @@ bool CachePruning::prune() {
|
||||
return;
|
||||
TotalSize += FileStatus.getSize();
|
||||
FileSizes.insert(
|
||||
std::make_pair(FileAccessTime.seconds(), std::string(Path)));
|
||||
std::make_pair(FileStatus.getSize(), std::string(Path)));
|
||||
};
|
||||
|
||||
// Walk the entire directory cache, looking for unused files.
|
||||
|
||||
Reference in New Issue
Block a user