Structureswift-cloud 0.34.0CloudCore
LocalHome
LocalHome.swift:3struct LocalHome
struct LocalHome
import CloudCore
protocol HomeProvider : Sendable
protocol Sendable
init()
func bootstrap(with context: Context) async throws
func getItem<T>(fileName: String, with context: Context) async throws -> T where T : HomeProviderItem
func putItem<T>(_ item: T, fileName: String, with context: Context) async throws where T : HomeProviderItem
static func local() -> Self
func contextualFileName(_ fileName: String, with context: Context) -> String
func passphrase(with context: Context) async throws -> String