refactor: centralize cache path logic and add TMPDIR documentation

This commit is contained in:
V1ck3s
2026-01-11 00:24:29 +01:00
committed by Vickes
parent dbb1964f46
commit 61a21b0e0c
4 changed files with 15 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ public class CacheCleanupService : BackgroundService
private async Task CleanupOldCachedFilesAsync(CancellationToken cancellationToken)
{
var cachePath = Path.Combine(Path.GetTempPath(), "octo-fiesta-cache");
var cachePath = PathHelper.GetCachePath();
if (!Directory.Exists(cachePath))
{