🍦 SwiftServe Get

Menu / packages / cache

cacheas of 7.4.0 · 24e47109

https://github.com/hyperoslo/cache

What it serves, where

CapabilityiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
Codable persistence

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • TransformerFactory.forCodable
    Source/Shared/Library/TransformerFactory.swift:28
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • Storage.transformCodable
    Source/Shared/Storage/Storage+Transform.swift:19
    View the line on GitHub →
  • TypeWrapper
    Source/Shared/Library/TypeWrapper.swift:4
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

Disk caching

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • DiskStorage
    Source/Shared/Storage/DiskStorage.swift:4
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • DiskConfig
    Source/Shared/Configuration/DiskConfig.swift:3
    View the line on GitHub →
  • DiskStorage.setObject
    Source/Shared/Storage/DiskStorage.swift:79
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

In-memory database

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • MemoryStorage
    Source/Shared/Storage/MemoryStorage.swift:3
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • MemoryConfig
    Source/Shared/Configuration/MemoryConfig.swift:3
    View the line on GitHub →
  • MemoryStorage.setObject
    Source/Shared/Storage/MemoryStorage.swift:42
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

Key-value storage

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • StorageAware.setObject
    Source/Shared/Storage/StorageAware.swift:44
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • StorageAware.object
    Source/Shared/Storage/StorageAware.swift:23
    View the line on GitHub →
  • StorageAware.allKeys
    Source/Shared/Storage/StorageAware.swift:11
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

Reactive queries / change tracking

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • Storage.addStorageObserver
    Source/Shared/Storage/Storage.swift:86
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • Storage.addObserver
    Source/Shared/Storage/Storage.swift:103
    View the line on GitHub →
  • KeyObservationRegistry
    Source/Shared/Storage/KeyObservationRegistry.swift:4
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it

Notes

Codable persistence: Any Codable value is persistable via TransformerFactory.forCodable / Storage.transformCodable, wrapped in TypeWrapper; README: 'utilizes Codable in Swift 4 to perform serialization'.

Disk caching: DiskStorage persists entries as files via FileManager; Storage composes memory+disk via HybridStorage. Package.swift declares no platforms block (no floors); README key features list iOS, tvOS and macOS.

In-memory database: Taxonomy label reads 'In-memory database'; Cache's MemoryStorage is an in-memory cache layer (fits the 'transient store' alias), not a database engine.

Key-value storage: All storages expose a generic key-value API: setObject(_:forKey:), object(forKey:), allKeys, with generic Key/Value type parameters.

Reactive queries / change tracking: Per-key and storage-wide change observation (addObserver / addStorageObserver with KeyChange / StorageChange, ObservationToken). Matches the 'change tracking' facet of the taxonomy label; there are no reactive queries.

Badges for your README

Maintainer of cache? These are yours — verified claims, linked to the receipts. Wrong verdict? That's a fix we want; see contribute.

verified badge
capability matrix badge
Codable persistence badge
Disk caching badge
In-memory database badge
Key-value storage badge
Reactive queries / change tracking badge