From 799f7a093f82fd94c7822dda9a86c28222464d86 Mon Sep 17 00:00:00 2001 From: Ashley Coleman Date: Fri, 18 Oct 2024 15:34:17 -0600 Subject: [PATCH] rsc: Tag dbblob files with their blob id (#1665) --- share/wake/lib/system/remote_cache_api.wake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/wake/lib/system/remote_cache_api.wake b/share/wake/lib/system/remote_cache_api.wake index ed4c0814d..22bf106a5 100644 --- a/share/wake/lib/system/remote_cache_api.wake +++ b/share/wake/lib/system/remote_cache_api.wake @@ -599,10 +599,10 @@ export def rscApiGetStringBlob ((CacheSearchBlob _ uri): CacheSearchBlob): Resul # ``` # rscApiGetFileBlob (RemoteCacheBlob "asdf" "https://...") "foo/bar" 0644 = Pass "foo/bar" # ``` -export def rscApiGetFileBlob ((CacheSearchBlob _ uri): CacheSearchBlob) (path: String) (mode: Integer): Result String Error = +export def rscApiGetFileBlob ((CacheSearchBlob blobId uri): CacheSearchBlob) (path: String) (mode: Integer): Result String Error = def resolveDbSchemeToFile scheme path = resolveDbScheme scheme path - |> writeTempFile "rsc.output_file.blob" + |> writeTempFile "rsc.output_file.blob.{blobId}" def resolveBlobFileScheme scheme path = buildHttpRequest "{scheme}://{path}"