mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
* Checksum and tests
* add checksum to video component models
* Update cache warming
* put the checksum in the right spot and update the view model
* File repo updates
* add missing assertion
* revert accidental trailiing comma
* Checksum from file
* Ensure cache invalidates when the checksum changes
* Use checksum as filename if available
* greedily fill space while loading occurs
* update remote image usage of the repository
* Reduce memory footprint of large file downloads by streaming the download to a temp file
* Update keyed deferred value storage key to include checksum
* remove unused argument
* remove wip comment
* Get tests to compile
* Write tests for the large item cache type
* remove test from the file repository suite
* trailing commas
* remove cache warming of videos
* remove un-needed change causing existential types
* delete the temporary file after success or failure of the code block
* log with the checksums
* optimize checksum generation to occur at the same time as the temp file storage
* starting to work on border gradients,
* Revert "starting to work on border gradients,"
This reverts commit 429e6d2fab.
* clarity regarding dark mode urls
20 lines
456 B
Swift
20 lines
456 B
Swift
//
|
|
// Copyright RevenueCat Inc. All Rights Reserved.
|
|
//
|
|
// Licensed under the MIT License (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// https://opensource.org/licenses/MIT
|
|
//
|
|
// URLWithValidation.swift
|
|
//
|
|
// Created by Jacob Zivan Rakidzich on 10/3/25.
|
|
|
|
import Foundation
|
|
|
|
struct URLWithValidation: Hashable {
|
|
let url: URL
|
|
let checksum: Checksum?
|
|
}
|