Skip to content

Commit

Permalink
rsc: Tag dbblob files with their blob id (#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt authored Oct 18, 2024
1 parent 0220c86 commit 799f7a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/wake/lib/system/remote_cache_api.wake
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 799f7a0

Please sign in to comment.