From a0ee19d37fd65704c7eaffba3bbc78fdafd8af29 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 10 Apr 2024 22:18:27 -0700 Subject: [PATCH] Make BinaryDiskCache an actor. --- Core/Sources/Core/BinaryDiskCache.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Core/Sources/Core/BinaryDiskCache.swift b/Core/Sources/Core/BinaryDiskCache.swift index 11373c37f..b3eb9185f 100644 --- a/Core/Sources/Core/BinaryDiskCache.swift +++ b/Core/Sources/Core/BinaryDiskCache.swift @@ -8,9 +8,7 @@ import Foundation -// Thread safety is up to the caller. - -public struct BinaryDiskCache { +public actor BinaryDiskCache { public let folder: String