diff --git a/docs/data/documentation/bodega.json b/docs/data/documentation/bodega.json index 1c190cc..8ac3c20 100644 --- a/docs/data/documentation/bodega.json +++ b/docs/data/documentation/bodega.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega is an actor-based library that started as a simple cache based on reading and writing files to\/from disk with an incredibly simple API. The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" still provides that functionality, but Bodega has also blossomed into so much more, offering a form of infrastructure that any app’s data can use."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega’s "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what’s possible. Conforming any database, persistence layer, or even an API server, to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol automatically provides an incredibly simple data layer for your app thanks to Bodega’s "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":". Rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and databases developers interact with their app’s Swift types no matter what those may be, have a unified API, and concurrency handled out of the box."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega provides two kinds of storage primitives for you, "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":". A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is for writing "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a persistence layer, whether it’s files on disk, SQLite, or your own database. An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" offers a unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"s, providing a single API for saving "},{"type":"codeVoice","code":"Codable"},{"type":"text","text":" objects to any "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" you choose. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" offers "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" by default, or you can even build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on your app’s API server if you want a simple way to interface with your API. You can even compose storage engines to create a complex data pipeline that hits your API and saves items into a database, all in one API call. The possibilities are endless."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega is fully usable and useful on its own, but it’s also the foundation of "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique"},{"type":"text","text":". You can find a reference implementation of an app built atop Boutique in the same "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique\/tree\/main\/Boutique%20Demo"},{"type":"text","text":", showing you how to make an offline-ready realtime updating SwiftUI app in only a few lines of code. You can read more about the thinking behind the architecture in this blog post exploring Boutique and the "},{"type":"reference","isActive":true,"identifier":"https:\/\/build.ms\/2022\/06\/22\/model-view-controller-store"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"Bodega","title":"Bodega","symbolKind":"module","role":"collection","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Fundamentals","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"]},{"title":"Walkthroughs","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Getting-Started-With-Bodega","doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine"]},{"title":"Classes","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]},{"title":"Protocols","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]},{"title":"Structures","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]}],"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/Getting-Started-With-Bodega":{"role":"collectionGroup","title":"Getting Started With Bodega","abstract":[{"type":"text","text":"First steps for incorporating Bodega in your app."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Getting-Started-With-Bodega","kind":"article","type":"topic","url":"\/documentation\/bodega\/getting-started-with-bodega"},"https://github.com/mergesort/Boutique":{"title":"Boutique","titleInlineContent":[{"type":"text","text":"Boutique"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique","url":"https:\/\/github.com\/mergesort\/Boutique"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"https://build.ms/2022/06/22/model-view-controller-store":{"title":"Model View Controller Store architecture","titleInlineContent":[{"type":"text","text":"Model View Controller Store architecture"}],"type":"link","identifier":"https:\/\/build.ms\/2022\/06\/22\/model-view-controller-store","url":"https:\/\/build.ms\/2022\/06\/22\/model-view-controller-store"},"https://github.com/mergesort/Boutique/tree/main/Boutique%20Demo":{"title":"repo","titleInlineContent":[{"type":"text","text":"repo"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique\/tree\/main\/Boutique%20Demo","url":"https:\/\/github.com\/mergesort\/Boutique\/tree\/main\/Boutique%20Demo"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/Building-A-StorageEngine":{"role":"collectionGroup","title":"Building A StorageEngine","abstract":[{"type":"text","text":"Learn how to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for a persistence layer such as Core Data, Realm, or any way your app stores data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine","kind":"article","type":"topic","url":"\/documentation\/bodega\/building-a-storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/Using-StorageEngines":{"role":"collectionGroup","title":"Using StorageEngines","abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-storageengines"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega is an actor-based library that started as a simple cache based on reading and writing files to\/from disk with an incredibly simple API. The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" still provides that functionality, but Bodega has also blossomed into much more, offering a form of infrastructure that any app’s data can use."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega’s "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what’s possible. Conforming any database, persistence layer, or even an API server, to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol automatically provides an incredibly simple data layer for your app thanks to Bodega’s "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":". Rather than thinking about "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and databases developers interact with their app’s Swift types no matter what those may be, have a unified API, and concurrency handled out of the box."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega provides two kinds of storage primitives for you, "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":". The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" lets you write "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to your data storage, whether it’s files on disk, SQLite, or your own database. An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" offers a unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"s, providing a single API for saving "},{"type":"codeVoice","code":"Codable"},{"type":"text","text":" objects to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" of your choice. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" has a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" built in, or you can even build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on your app’s persistencey layer, database, or API server if you want a simple way to interface with your API. Composing storage engines allows you to create complex data pipelines, for example imagine querying the keychain for an API token, hitting your API, and saving the resulting items into a database, all with one API call. The possibilities are endless."}]},{"anchor":"Getting-Started","level":2,"type":"heading","text":"Getting Started"},{"type":"paragraph","inlineContent":[{"type":"text","text":"There are numerous ways to get started with Bodega depending on how you prefer to learn."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"You can explore using the built-in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" to see how to build an image cache in only a few lines of code."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-An-Image-Cache"}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The built-in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" should be more than enough to handle most of the tasks iOS and macOS developers perform. It’s still good to know the tradeoffs, or even when you should consider building your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you want to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for Core Data, the keychain, or your own custom API server, it’ll be wortwhile to explore how the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" works."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Most of the time though you’ll find yourself working with Swift models rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" directly, a task "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" is perfect for. Learn how to setup "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":", and you’ll be storing Swift types in no time."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage"}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Bodega is fully usable and useful on its own, but it’s also the foundation of "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique"},{"type":"text","text":". If you’re looking to build a complete SwiftUI, UIKit, or AppKit app around these concepts then Boutique is a perfect fit for that problem. The library allows you to build an offline-ready realtime updating app in only a few lines of code."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/build.ms\/boutique\/docs"}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"Bodega","title":"Bodega","symbolKind":"module","role":"collection","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Fundamentals","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage"]},{"title":"Walkthroughs","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Building-An-Image-Cache"]},{"title":"Classes","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]},{"title":"Protocols","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]},{"title":"Structures","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]}],"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"https://build.ms/boutique/docs":{"title":"Boutique Documentation","titleInlineContent":[{"type":"text","text":"Boutique Documentation"}],"type":"link","identifier":"https:\/\/build.ms\/boutique\/docs","url":"https:\/\/build.ms\/boutique\/docs"},"doc://Bodega/documentation/Bodega/Using-StorageEngines":{"role":"article","title":"Using StorageEngines","abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-storageengines"},"doc://Bodega/documentation/Bodega/Building-An-Image-Cache":{"role":"article","title":"Building An Image Cache","abstract":[{"type":"text","text":"Bodega takes data management off your plate, making once complex problems like building an image cache much simpler."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-An-Image-Cache","kind":"article","type":"topic","url":"\/documentation\/bodega\/building-an-image-cache"},"doc://Bodega/documentation/Bodega/Using-ObjectStorage":{"role":"article","title":"Using ObjectStorage","abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" serves as unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you to work with type-safe Swift models rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-objectstorage"},"https://github.com/mergesort/Boutique":{"title":"Boutique","titleInlineContent":[{"type":"text","text":"Boutique"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique","url":"https:\/\/github.com\/mergesort\/Boutique"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/building-a-storageengine.json b/docs/data/documentation/bodega/building-a-storageengine.json deleted file mode 100644 index 3442f5d..0000000 --- a/docs/data/documentation/bodega/building-a-storageengine.json +++ /dev/null @@ -1 +0,0 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/building-a-storageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Learn how to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for a persistence layer such as Core Data, Realm, or any way your app stores data."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Building A StorageEngine","role":"collectionGroup","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"],["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"]]},"seeAlsoSections":[{"title":"Walkthroughs","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Getting-Started-With-Bodega"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/Using-StorageEngines":{"role":"collectionGroup","title":"Using StorageEngines","abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-storageengines"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/Getting-Started-With-Bodega":{"role":"collectionGroup","title":"Getting Started With Bodega","abstract":[{"type":"text","text":"First steps for incorporating Bodega in your app."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Getting-Started-With-Bodega","kind":"article","type":"topic","url":"\/documentation\/bodega\/getting-started-with-bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/building-an-image-cache.json b/docs/data/documentation/bodega/building-an-image-cache.json new file mode 100644 index 0000000..08a735a --- /dev/null +++ b/docs/data/documentation/bodega/building-an-image-cache.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"When you’re building an app that displays images the first thing you need to do is build an image cache. An image cache provides numerous benefits. It lets your app work offline, makes sure you never have to redownload images you’ve already saved, and it makes your app faster by skipping unnecessary network requests."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"In this tutorial we’ll build an image cache, connect it to a SwiftUI View, and demonstrate a good pattern for querying cached data. While the cache we’ll build is for images, the same approach works for any data, whether you want to save videos, HTML, or even custom files. You can even use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to cache your app’s models, as discussed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage"},{"type":"text","text":"."}]},{"anchor":"ImageCache","level":2,"type":"heading","text":"ImageCache"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Below is the "},{"type":"codeVoice","code":"ImageCache"},{"type":"text","text":", and like any cache it has an operation to save data and an operation to retrieve data."}]},{"type":"codeListing","syntax":"swift","code":["import Bodega","","final class ImageCache: ObservableObject {",""," \/\/ 1"," private let imageStore = SQLiteStorageEngine.default(appendingPath: \"Images\")",""," init() { }",""," \/\/ 2"," func cache(image: UIImage, forKey key: CacheKey) async throws {"," guard let data = image.pngData() else { return }"," try await self.imageStore.write(data, key: key)"," }",""," \/\/ 3"," func image(forKey key: CacheKey) async -> UIImage? {"," guard let imageData = await self.imageStore.read(key: key) else { return nil }"," return UIImage(data: imageData)"," }","","}"]},{"type":"orderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We create an instance of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" ("},{"type":"codeVoice","code":"imagesStore"},{"type":"text","text":") to hold the images we will be caching. The document "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"},{"type":"text","text":" discusses the differences between "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" in depth, you can use either for this task but we’ll choose to use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Our "},{"type":"codeVoice","code":"cache(image: UIImage, forKey: CacheKey)"},{"type":"text","text":" function does one thing and does it well. If the image passed into the function can be converted to "},{"type":"codeVoice","code":"Data"},{"type":"text","text":", we will write that "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" into the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If it can’t write the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" we’ll return early instead. If there are any errors thrown when writing the data they will be provided to the caller of the "},{"type":"codeVoice","code":"cache"},{"type":"text","text":" function."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Our "},{"type":"codeVoice","code":"image(forKey: CacheKey)"},{"type":"text","text":" function is similarly focused, tasked with retrieving an image from the cache if that image exists in our cache. If you haven’t yet retrieved an image from the server then it won’t be in the cache. This case is very common so it doesn’t make sense to throw errors, instead a "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" value signals to us that we have a reason to attempt retrieving an image from our API."}]}]}]},{"anchor":"ImageFetchingAPI","level":2,"type":"heading","text":"ImageFetchingAPI"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Now that we have a cache for storing images, we’ll need to fetch images to store. We won’t build a real API for the purposes of this tutorial, but this approach should work for fetching any image from the internet."}]},{"type":"codeListing","syntax":"swift","code":["struct ImageFetchingAPI {",""," func download(url: URL) async -> UIImage {"," \/\/ Make a network call download an image"," return UIImage()"," }","","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For our "},{"type":"codeVoice","code":"ImageFetchingAPI"},{"type":"text","text":" our "},{"type":"codeVoice","code":"download(url: URL)"},{"type":"text","text":" function will use the "},{"type":"codeVoice","code":"url"},{"type":"text","text":" parameter provided to download an image."}]},{"anchor":"ProfileHeaderView","level":2,"type":"heading","text":"ProfileHeaderView"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Having the ability to save, load, and download images is great, but for the user to enjoy the image we’ll need to put the image into a "},{"type":"codeVoice","code":"View"},{"type":"text","text":". Let’s imagine we’re a navigation bar that shows a user of our Jolene app their avatar if an avatar exists."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"ProfileHeaderview.png"}]},{"type":"codeListing","syntax":"swift","code":["import SwiftUI","","struct ProfileHeaderView: View {",""," \/\/ 1 "," @StateObject private var imageCache = ImageCache()",""," \/\/ 2"," @State private var avatarImage: UIImage?",""," private static let avatarCacheKey = CacheKey(\"username-avatar\")",""," var body: some View {"," HStack {"," \/\/ 3"," if let headerImage = self.avatarImage {"," Image(uiImage: headerImage)"," .frame(width: 32.0, height: 32.0)"," } else {"," Rectangle()"," .background(Color.blue)"," .cornerRadius(8.0)"," .frame(width: 32.0, height: 32.0)"," }",""," Spacer()",""," Text(\"Jolene 🌻\")",""," Spacer()"," }"," .frame(alignment: .center)"," }.task({"," \/\/ 4"," if let cachedImage = await self.imageCache.image(forKey: Self.avatarCacheKey) {"," self.avatarImage = cachedImage"," } else { "," let imageAPI = ImageFetchingAPI()"," let avatarImage = await imageAPI.fetchAvatar()"," self.avatarImage = avatarImage"," try? await self.imageCache.cache(image: avatarImage, forKey: Self.avatarCacheKey)"," }"," })"," }","}"]},{"type":"orderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Our "},{"type":"codeVoice","code":"ProfileHeaderview"},{"type":"text","text":" needs to have an instance of "},{"type":"codeVoice","code":"ImageCache"},{"type":"text","text":", that way we can retrieve the image we want to display from our cache. Some developers may prefer to put this property into a "},{"type":"codeVoice","code":"ViewModel"},{"type":"text","text":", and that’s a configuration Bodega supports. Bodega isn’t prescriptive, it only focuses on storing and loading data, you can choose the rest and figure out what approach is best for you."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We’ll create an "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":" property to store the avatar image we will retrieve. It will be "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" by default, but will be updated when we fetch an image from either our cache or from the API. Marking the property with "},{"type":"codeVoice","code":"@State"},{"type":"text","text":" signals to our "},{"type":"codeVoice","code":"ProfileHeaderView"},{"type":"text","text":" to automatically refresh when an image is retrieved, no matter the source of the image."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Here we have an if condition depending on whether "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":" exists or not. If "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":" is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" we will render a lovely blue rectangle that serves as a placeholder for when we retrieve an image. If "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":" is not "},{"type":"codeVoice","code":"nil"},{"type":"text","text":", we will display the user’s avatar as expected. The beauty of the cache is that if we’ve already downloaded the image before we won’t have to wait for a network request to our API, instead the user will immediately see the avatar image as expected."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"There are two distinct pathways in our "},{"type":"codeVoice","code":".task"},{"type":"text","text":", so let’s go over the "},{"type":"codeVoice","code":"if"},{"type":"text","text":" and the "},{"type":"codeVoice","code":"else"},{"type":"text","text":" blocks separately."}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":".task"},{"type":"text","text":" will run when the view appears, immediately checking to see if the image already exists in the cache. If it does we will set "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":" to the image we find in the cache so the user immediately sees their avatar in the header."}]},{"type":"codeListing","syntax":"swift","code":["if let cachedImage = await self.imageCache.image(forKey: Self.avatarCacheKey) {"," self.avatarImage = cachedImage","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If the image isn’t yet cached we will end up in the "},{"type":"codeVoice","code":"else"},{"type":"text","text":" block. In that case we will"}]},{"type":"orderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Download the user’s avatar from our API,"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Set the result to "},{"type":"codeVoice","code":"avatarImage"},{"type":"text","text":","}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Finish up the process by calling "},{"type":"codeVoice","code":"imageCache.cache(image: avatarImage, forKey: Self.avatarCacheKey)"},{"type":"text","text":" to ensure that the next time we need this avatar we have it cached."}]}]}]},{"type":"codeListing","syntax":"swift","code":["let imageAPI = ImageFetchingAPI()","let avatarImage = await imageAPI.download(url: URL(string: \"https:\/\/image.redpanda.club\/random\")!)","self.avatarImage = avatarImage","try? await self.imageCache.cache(image: avatarImage, forKey: Self.avatarCacheKey)"]},{"anchor":"Further-Exploration","level":2,"type":"heading","text":"Further Exploration"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Building a performant and reliable cache can be a difficult task, but with Bodega’s help we were able to build one in only a few lines of code. There are many complex abstractions you can build much more simply using Bodega."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"As we saw above Bodega is fully usable and useful on its own, but it’s also the foundation of "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique"},{"type":"text","text":". Boutique helps you build a complete SwiftUI, UIKit, or AppKit app that works fully offline with the help of a similar caching approach as built for our image cache. But Boutique goes above and beyond that, providing realtime updates to your views so they’re always showing the most up to date data based on your cached data. If you’d like to build an app with all of these capabilities in only a few lines of code, it’s easy to get started with "},{"type":"reference","isActive":true,"identifier":"https:\/\/build.ms\/boutique\/docs"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/building-an-image-cache"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Building-An-Image-Cache","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Bodega takes data management off your plate, making once complex problems like building an image cache much simpler."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Building An Image Cache","role":"article","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/Using-StorageEngines":{"role":"article","title":"Using StorageEngines","abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-storageengines"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"https://github.com/mergesort/Boutique":{"title":"Boutique","titleInlineContent":[{"type":"text","text":"Boutique"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique","url":"https:\/\/github.com\/mergesort\/Boutique"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"https://build.ms/boutique/docs":{"title":"Boutique’s documentation","titleInlineContent":[{"type":"text","text":"Boutique’s documentation"}],"type":"link","identifier":"https:\/\/build.ms\/boutique\/docs","url":"https:\/\/build.ms\/boutique\/docs"},"doc://Bodega/documentation/Bodega/Using-ObjectStorage":{"role":"article","title":"Using ObjectStorage","abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" serves as unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you to work with type-safe Swift models rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-objectstorage"},"ProfileHeaderview.png":{"alt":"Profile Header View","type":"image","identifier":"ProfileHeaderview.png","variants":[{"url":"\/images\/ProfileHeaderview.png","traits":["1x","light"]}]}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey.json b/docs/data/documentation/bodega/cachekey.json index 9235a94..7a3fa3d 100644 --- a/docs/data/documentation/bodega/cachekey.json +++ b/docs/data/documentation/bodega/cachekey.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/Se","doc:\/\/Bodega\/SE","doc:\/\/Bodega\/SQ","doc:\/\/Bodega\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","interfaceLanguage":"swift"},"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"title":"CacheKey","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:6Bodega8CacheKeyV","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"CacheKey"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value"]},{"title":"Default Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/Bodega\/SE"},"doc://Bodega/documentation/Bodega/CacheKey/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/cachekey\/equatable-implementations"},"doc://Bodega/documentation/Bodega/CacheKey/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(from:)"},"doc://Bodega/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/Bodega\/SH"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/init(url:)":{"role":"symbol","title":"init(url:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(url:)"},"doc://Bodega/documentation/Bodega/CacheKey/init(verbatim:)":{"role":"symbol","title":"init(verbatim:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(verbatim:)"},"doc://Bodega/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/Bodega\/SQ"},"doc://Bodega/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/Bodega\/Se"},"doc://Bodega/documentation/Bodega/CacheKey/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(_:)"},"doc://Bodega/documentation/Bodega/CacheKey/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/value"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/Se","doc:\/\/Bodega\/SE","doc:\/\/Bodega\/SQ","doc:\/\/Bodega\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","interfaceLanguage":"swift"},"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"title":"CacheKey","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:6Bodega8CacheKeyV","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"CacheKey"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value"]},{"title":"Default Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/CacheKey/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/value"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/cachekey\/equatable-implementations"},"doc://Bodega/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/Bodega\/SE"},"doc://Bodega/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/Bodega\/Se"},"doc://Bodega/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/Bodega\/SH"},"doc://Bodega/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/Bodega\/SQ"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/CacheKey/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(from:)"},"doc://Bodega/documentation/Bodega/CacheKey/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(_:)"},"doc://Bodega/documentation/Bodega/CacheKey/init(verbatim:)":{"role":"symbol","title":"init(verbatim:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(verbatim:)"},"doc://Bodega/documentation/Bodega/CacheKey/init(url:)":{"role":"symbol","title":"init(url:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(url:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/!=(_:_:).json b/docs/data/documentation/bodega/cachekey/!=(_:_:).json index 4619913..76e8010 100644 --- a/docs/data/documentation/bodega/cachekey/!=(_:_:).json +++ b/docs/data/documentation/bodega/cachekey/!=(_:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Bodega8CacheKeyV","extendedModule":"Swift","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/!=(_:_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/cachekey\/equatable-implementations"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:6Bodega8CacheKeyV","extendedModule":"Swift","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/CacheKey/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/cachekey\/equatable-implementations"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/!=(_:_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/equatable-implementations.json b/docs/data/documentation/bodega/cachekey/equatable-implementations.json index 30f2959..86a12df 100644 --- a/docs/data/documentation/bodega/cachekey/equatable-implementations.json +++ b/docs/data/documentation/bodega/cachekey/equatable-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/bodega\/cachekey\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Bodega"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/CacheKey/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/!=(_:_:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/bodega\/cachekey\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/Equatable-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Bodega"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/!=(_:_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/init(_:).json b/docs/data/documentation/bodega/cachekey/init(_:).json index b47523a..8578d2e 100644 --- a/docs/data/documentation/bodega/cachekey/init(_:).json +++ b/docs/data/documentation/bodega/cachekey/init(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"value","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" which will serve as the underlying value for this "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyVyACSScfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/CacheKey/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(_:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"value","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" which will serve as the underlying value for this "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyVyACSScfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", creating a hashed version of the input "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"This initializer is useful if you plan on using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s for storing files on disk"},{"type":"text","text":" "},{"type":"text","text":"because file have many limitations about characters that are allowed in file names,"},{"type":"text","text":" "},{"type":"text","text":"and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/init(from:).json b/docs/data/documentation/bodega/cachekey/init(from:).json index 0ddd62c..02b1415 100644 --- a/docs/data/documentation/bodega/cachekey/init(from:).json +++ b/docs/data/documentation/bodega/cachekey/init(from:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV4fromACs7Decoder_p_tKcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(from:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV4fromACs7Decoder_p_tKcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(from:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/init(url:).json b/docs/data/documentation/bodega/cachekey/init(url:).json index 9569dfa..52e2e2c 100644 --- a/docs/data/documentation/bodega/cachekey/init(url:).json +++ b/docs/data/documentation/bodega/cachekey/init(url:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"url","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The URL to use as the foundation of your cache key."},{"type":"text","text":" "},{"type":"text","text":"The URL will be sanitized to account for common user-generated differences"},{"type":"text","text":" "},{"type":"text","text":"before generating a cache key, so note that https:\/\/redpanda.club and https:\/\/www.redpanda.club"},{"type":"text","text":" "},{"type":"text","text":"will generate a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" with the same underlying value."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(url:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"title":"init(url:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV3urlAC10Foundation3URLV_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/init(url:)":{"role":"symbol","title":"init(url:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(url:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"url","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The URL to use as the foundation of your cache key."},{"type":"text","text":" "},{"type":"text","text":"The URL will be sanitized to account for common user-generated differences"},{"type":"text","text":" "},{"type":"text","text":"before generating a cache key, so note that https:\/\/redpanda.club and https:\/\/www.redpanda.club"},{"type":"text","text":" "},{"type":"text","text":"will generate a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" with the same underlying value."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(url:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"title":"init(url:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV3urlAC10Foundation3URLV_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/CacheKey/init(url:)":{"role":"symbol","title":"init(url:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":". This initializer is useful if you plan on using"},{"type":"text","text":" "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s for storing files on disk because file have many limitations about"},{"type":"text","text":" "},{"type":"text","text":"which characters that are allowed in file names, and the maximum length of a file name."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(url:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(url:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/init(verbatim:).json b/docs/data/documentation/bodega/cachekey/init(verbatim:).json index c95dce4..15a3e48 100644 --- a/docs/data/documentation/bodega/cachekey/init(verbatim:).json +++ b/docs/data/documentation/bodega/cachekey/init(verbatim:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"value","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" which will serve as the underlying value for this "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(verbatim:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(verbatim:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV8verbatimACSS_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/init(verbatim:)":{"role":"symbol","title":"init(verbatim:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(verbatim:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"value","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" which will serve as the underlying value for this "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/init(verbatim:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(verbatim:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega8CacheKeyV8verbatimACSS_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/init(verbatim:)":{"role":"symbol","title":"init(verbatim:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"verbatim"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from a "},{"type":"codeVoice","code":"String"},{"type":"text","text":", using the exact "},{"type":"codeVoice","code":"String"},{"type":"text","text":" as the value of the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/init(verbatim:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/init(verbatim:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/cachekey/value.json b/docs/data/documentation/bodega/cachekey/value.json index 198dcb7..4e9f1fa 100644 --- a/docs/data/documentation/bodega/cachekey/value.json +++ b/docs/data/documentation/bodega/cachekey/value.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/value"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"value","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:6Bodega8CacheKeyV5valueSSvp","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/value"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/cachekey\/value"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"value","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:6Bodega8CacheKeyV5valueSSvp","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"String"},{"type":"text","text":" representation of your "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey\/value","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/cachekey\/value"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine.json b/docs/data/documentation/bodega/diskstorageengine.json index 1f600bd..0b7ec39 100644 --- a/docs/data/documentation/bodega/diskstorageengine.json +++ b/docs/data/documentation/bodega/diskstorageengine.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" prioritizes simplicity over speed, it is very easy to use and understand."},{"type":"text","text":" "},{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" will write a one file for every object you save, which makes"},{"type":"text","text":" "},{"type":"text","text":"it easy to inspect and debug any objects you’re saving."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Initialization times vary based on the total number of objects you have saved,"},{"type":"text","text":" "},{"type":"text","text":"but a simple rule of thumb is that loading 1,000 objects from disk takes about 0.25 seconds."},{"type":"text","text":" "},{"type":"text","text":"This can start to feel a bit slow if you are saving more than 2,000-3,000, at which point"},{"type":"text","text":" "},{"type":"text","text":"it may be worth investigating alternative "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"s."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If performance is important "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" ships "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", and that is the recommended"},{"type":"text","text":" "},{"type":"text","text":"default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you have your own persistence layer such as Realm, Core Data, etc,"},{"type":"text","text":" "},{"type":"text","text":"you can easily build your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to plug into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"title":"DiskStorageEngine","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega17DiskStorageEngineC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/lastAccessed(key:)":{"role":"symbol","title":"lastAccessed(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/init(directory:)":{"role":"symbol","title":"init(directory:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/init(directory:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" prioritizes simplicity over speed, it is very easy to use and understand."},{"type":"text","text":" "},{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" will write a one file for every object you save, which makes"},{"type":"text","text":" "},{"type":"text","text":"it easy to inspect and debug any objects you’re saving."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Initialization times vary based on the total number of objects you have saved,"},{"type":"text","text":" "},{"type":"text","text":"but a simple rule of thumb is that loading 1,000 objects from disk takes about 0.25 seconds."},{"type":"text","text":" "},{"type":"text","text":"This can start to feel a bit slow if you are saving more than 2,000-3,000, at which point"},{"type":"text","text":" "},{"type":"text","text":"it may be worth investigating alternative "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"s."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If performance is important "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" ships "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", and that is the recommended"},{"type":"text","text":" "},{"type":"text","text":"default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you have your own persistence layer such as Realm, Core Data, etc,"},{"type":"text","text":" "},{"type":"text","text":"you can easily build your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to plug into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"title":"DiskStorageEngine","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega17DiskStorageEngineC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/init(directory:)":{"role":"symbol","title":"init(directory:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/init(directory:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/lastAccessed(key:)":{"role":"symbol","title":"lastAccessed(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:key:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/allkeys().json b/docs/data/documentation/bodega/diskstorageengine/allkeys().json index e27a398..54d2ea7 100644 --- a/docs/data/documentation/bodega/diskstorageengine/allkeys().json +++ b/docs/data/documentation/bodega/diskstorageengine/allkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC7allKeysSayAA8CacheKeyVGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC7allKeysSayAA8CacheKeyVGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/allkeys()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/createdat(key:).json b/docs/data/documentation/bodega/diskstorageengine/createdat(key:).json index 1a69a65..1a2e918 100644 --- a/docs/data/documentation/bodega/diskstorageengine/createdat(key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/createdat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/init(directory:).json b/docs/data/documentation/bodega/diskstorageengine/init(directory:).json index 88e4c38..b03ce0f 100644 --- a/docs/data/documentation/bodega/diskstorageengine/init(directory:).json +++ b/docs/data/documentation/bodega/diskstorageengine/init(directory:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"directory","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A directory on the filesystem where your files will be written to."},{"type":"text","text":" "},{"type":"codeVoice","code":"FileManager.Directory"},{"type":"text","text":" is a type-safe wrapper around URL that provides sensible defaults like"},{"type":"text","text":" "},{"type":"codeVoice","code":".documents(appendingPath:)"},{"type":"text","text":", "},{"type":"codeVoice","code":".caches(appendingPath:)"},{"type":"text","text":", and more."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/init(directory:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"title":"init(directory:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega17DiskStorageEngineC9directoryACSo13NSFileManagerCAAE9DirectoryV_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/init(directory:)":{"role":"symbol","title":"init(directory:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/init(directory:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"directory","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A directory on the filesystem where your files will be written to."},{"type":"text","text":" "},{"type":"codeVoice","code":"FileManager.Directory"},{"type":"text","text":" is a type-safe wrapper around URL that provides sensible defaults like"},{"type":"text","text":" "},{"type":"codeVoice","code":".documents(appendingPath:)"},{"type":"text","text":", "},{"type":"codeVoice","code":".caches(appendingPath:)"},{"type":"text","text":", and more."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/init(directory:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"title":"init(directory:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega17DiskStorageEngineC9directoryACSo13NSFileManagerCAAE9DirectoryV_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/init(directory:)":{"role":"symbol","title":"init(directory:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/init(directory:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/init(directory:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/keycount().json b/docs/data/documentation/bodega/diskstorageengine/keycount().json index 7f52036..21f7088 100644 --- a/docs/data/documentation/bodega/diskstorageengine/keycount().json +++ b/docs/data/documentation/bodega/diskstorageengine/keycount().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The file\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC8keyCountSiyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keycount()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The file\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC8keyCountSiyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/keyexists(_:).json b/docs/data/documentation/bodega/diskstorageengine/keyexists(_:).json index d241899..0d21ad6 100644 --- a/docs/data/documentation/bodega/diskstorageengine/keyexists(_:).json +++ b/docs/data/documentation/bodega/diskstorageengine/keyexists(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If the key exists the function returns true, false if it does not."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key to for existence."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"keyExists(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9keyExistsySbAA8CacheKeyVF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If the key exists the function returns true, false if it does not."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key to for existence."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"keyExists(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9keyExistsySbAA8CacheKeyVF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/lastaccessed(key:).json b/docs/data/documentation/bodega/diskstorageengine/lastaccessed(key:).json index 51ffc5c..503e443 100644 --- a/docs/data/documentation/bodega/diskstorageengine/lastaccessed(key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/lastaccessed(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The last access date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"lastAccessed(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC12lastAccessed3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/lastAccessed(key:)":{"role":"symbol","title":"lastAccessed(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The last access date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"lastAccessed(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC12lastAccessed3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/lastAccessed(key:)":{"role":"symbol","title":"lastAccessed(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"lastAccessed"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the last access date of the file for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/lastAccessed(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/lastaccessed(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/read(key:).json b/docs/data/documentation/bodega/diskstorageengine/read(key:).json index 27e691e..040a237 100644 --- a/docs/data/documentation/bodega/diskstorageengine/read(key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/read(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"title":"read(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC4read3key10Foundation4DataVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(key:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"title":"read(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC4read3key10Foundation4DataVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/read(keys:).json b/docs/data/documentation/bodega/diskstorageengine/read(keys:).json index 31557d4..7920212 100644 --- a/docs/data/documentation/bodega/diskstorageengine/read(keys:).json +++ b/docs/data/documentation/bodega/diskstorageengine/read(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/read(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF::SYNTHESIZED::s:6Bodega17DiskStorageEngineC","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/read(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF::SYNTHESIZED::s:6Bodega17DiskStorageEngineC","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/readalldata().json b/docs/data/documentation/bodega/diskstorageengine/readalldata().json index 73ff567..cd9605a 100644 --- a/docs/data/documentation/bodega/diskstorageengine/readalldata().json +++ b/docs/data/documentation/bodega/diskstorageengine/readalldata().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained on disk."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readalldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"readAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC11readAllDataSay10Foundation0G0VGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained on disk."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readalldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"readAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC11readAllDataSay10Foundation0G0VGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/readalldataandkeys().json b/docs/data/documentation/bodega/diskstorageengine/readalldataandkeys().json index 34cbe74..ebfa8d2 100644 --- a/docs/data/documentation/bodega/diskstorageengine/readalldataandkeys().json +++ b/docs/data/documentation/bodega/diskstorageengine/readalldataandkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readAllDataAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0G0V4datatGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readAllDataAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0G0V4datatGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldataandkeys()"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readalldata()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/readdataandkeys(keys:).json b/docs/data/documentation/bodega/diskstorageengine/readdataandkeys(keys:).json index d8ca432..cbc5581 100644 --- a/docs/data/documentation/bodega/diskstorageengine/readdataandkeys(keys:).json +++ b/docs/data/documentation/bodega/diskstorageengine/readdataandkeys(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" read from disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0F0V4datatGSayAGG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" read from disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0F0V4datatGSayAGG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/readdataandkeys(keys:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/remove(key:).json b/docs/data/documentation/bodega/diskstorageengine/remove(key:).json index 45ff8e5..5f9c95e 100644 --- a/docs/data/documentation/bodega/diskstorageengine/remove(key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/remove(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"remove(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC6remove3keyyAA8CacheKeyV_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"remove(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC6remove3keyyAA8CacheKeyV_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(key:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/remove(keys:).json b/docs/data/documentation/bodega/diskstorageengine/remove(keys:).json index 2889712..3314e25 100644 --- a/docs/data/documentation/bodega/diskstorageengine/remove(keys:).json +++ b/docs/data/documentation/bodega/diskstorageengine/remove(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/remove(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE6remove4keysySayAA8CacheKeyVG_tYaKF::SYNTHESIZED::s:6Bodega17DiskStorageEngineC","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/remove(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE6remove4keysySayAA8CacheKeyVG_tYaKF::SYNTHESIZED::s:6Bodega17DiskStorageEngineC","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/StorageEngine-Implementations":{"role":"collectionGroup","title":"StorageEngine Implementations","abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","kind":"article","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/removealldata().json b/docs/data/documentation/bodega/diskstorageengine/removealldata().json index 7642d4b..d22ff5f 100644 --- a/docs/data/documentation/bodega/diskstorageengine/removealldata().json +++ b/docs/data/documentation/bodega/diskstorageengine/removealldata().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"title":"removeAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC13removeAllDatayyKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"title":"removeAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC13removeAllDatayyKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items located in the "},{"type":"codeVoice","code":"directory"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/storageengine-implementations.json b/docs/data/documentation/bodega/diskstorageengine/storageengine-implementations.json index 96e46a1..6b744d8 100644 --- a/docs/data/documentation/bodega/diskstorageengine/storageengine-implementations.json +++ b/docs/data/documentation/bodega/diskstorageengine/storageengine-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Bodega"}],"role":"collectionGroup","title":"StorageEngine Implementations"},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/storageengine-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/StorageEngine-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Bodega"}],"role":"collectionGroup","title":"StorageEngine Implementations"},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/remove(keys:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/updatedat(key:).json b/docs/data/documentation/bodega/diskstorageengine/updatedat(key:).json index 423e128..739340b 100644 --- a/docs/data/documentation/bodega/diskstorageengine/updatedat(key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/updatedat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The updatedAt date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The updatedAt date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the updatedAt date for the file represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/write(_:).json b/docs/data/documentation/bodega/diskstorageengine/write(_:).json index 3dc8ca4..582c5d6 100644 --- a/docs/data/documentation/bodega/diskstorageengine/write(_:).json +++ b/docs/data/documentation/bodega/diskstorageengine/write(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"dataAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"title":"write(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"dataAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"title":"write(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/diskstorageengine/write(_:key:).json b/docs/data/documentation/bodega/diskstorageengine/write(_:key:).json index 13069ba..60cfa72 100644 --- a/docs/data/documentation/bodega/diskstorageengine/write(_:key:).json +++ b/docs/data/documentation/bodega/diskstorageengine/write(_:key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"data","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being stored to disk."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"write(_:key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC5write_3keyy10Foundation4DataV_AA8CacheKeyVtKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:key:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"data","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being stored to disk."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to a location on disk."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/diskstorageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"write(_:key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega17DiskStorageEngineC5write_3keyy10Foundation4DataV_AA8CacheKeyVtKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/diskstorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/getting-started-with-bodega.json b/docs/data/documentation/bodega/getting-started-with-bodega.json deleted file mode 100644 index 3b27904..0000000 --- a/docs/data/documentation/bodega/getting-started-with-bodega.json +++ /dev/null @@ -1 +0,0 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/getting-started-with-bodega"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Getting-Started-With-Bodega","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"First steps for incorporating Bodega in your app."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Getting Started With Bodega","role":"collectionGroup","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"seeAlsoSections":[{"title":"Walkthroughs","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/Building-A-StorageEngine":{"role":"collectionGroup","title":"Building A StorageEngine","abstract":[{"type":"text","text":"Learn how to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for a persistence layer such as Core Data, Realm, or any way your app stores data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine","kind":"article","type":"topic","url":"\/documentation\/bodega\/building-a-storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage.json b/docs/data/documentation/bodega/objectstorage.json index 169f355..9f23f16 100644 --- a/docs/data/documentation/bodega/objectstorage.json +++ b/docs/data/documentation/bodega/objectstorage.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Object"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" is a higher level abstraction than a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you"},{"type":"text","text":" "},{"type":"text","text":"to interact with Swift objects, never thinking about the persistence layer that’s saving"},{"type":"text","text":" "},{"type":"text","text":"objects under the hood."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you do not provide a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" parameter then "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" will default to"},{"type":"text","text":" "},{"type":"text","text":"using an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", with a database located in the app’s Documents directory."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is a safe, fast, and easy database to based on SQLite,"},{"type":"text","text":" "},{"type":"text","text":"but if you prefer to use your own persistence layer or want to save your objects"},{"type":"text","text":" "},{"type":"text","text":"to another location, you can use the "},{"type":"codeVoice","code":"storage"},{"type":"text","text":" parameter like so"}]},{"type":"codeListing","syntax":null,"code":["SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Assets\"))"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"title":"ObjectStorage","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega13ObjectStorageC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)"]}],"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:forKey:)":{"role":"symbol","title":"store(_:forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/updatedAt(forKey:)":{"role":"symbol","title":"updatedAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allkeys()"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:)":{"role":"symbol","title":"store(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/ObjectStorage/createdAt(forKey:)":{"role":"symbol","title":"createdAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/createdat(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/object(forKey:)":{"role":"symbol","title":"object(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/object(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/objectsAndKeys(keys:)":{"role":"symbol","title":"objectsAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeAllObjects()":{"role":"symbol","title":"removeAllObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeallobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKey:)":{"role":"symbol","title":"removeObject(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKeys:)":{"role":"symbol","title":"removeObject(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/init(storage:)":{"role":"symbol","title":"init(storage:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/init(storage:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjectsAndKeys()":{"role":"symbol","title":"allObjectsAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Object"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" is a higher level abstraction than a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you"},{"type":"text","text":" "},{"type":"text","text":"to interact with Swift objects, never thinking about the persistence layer that’s saving"},{"type":"text","text":" "},{"type":"text","text":"objects under the hood."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is a safe, fast, and easy database to based on SQLite,"},{"type":"text","text":" "},{"type":"text","text":"but if you prefer to use your own persistence layer or want to save your objects"},{"type":"text","text":" "},{"type":"text","text":"to another location, you can use the "},{"type":"codeVoice","code":"storage"},{"type":"text","text":" parameter like so"}]},{"type":"codeListing","syntax":null,"code":["SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Assets\"))"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"title":"ObjectStorage","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega13ObjectStorageC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)"]}],"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKey:)":{"role":"symbol","title":"removeObject(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:)":{"role":"symbol","title":"store(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"doc://Bodega/documentation/Bodega/ObjectStorage/objectsAndKeys(keys:)":{"role":"symbol","title":"objectsAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/init(storage:)":{"role":"symbol","title":"init(storage:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/init(storage:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeAllObjects()":{"role":"symbol","title":"removeAllObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeallobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:forKey:)":{"role":"symbol","title":"store(_:forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKeys:)":{"role":"symbol","title":"removeObject(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/object(forKey:)":{"role":"symbol","title":"object(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/object(forkey:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage/updatedAt(forKey:)":{"role":"symbol","title":"updatedAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/ObjectStorage/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allkeys()"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjectsAndKeys()":{"role":"symbol","title":"allObjectsAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/createdAt(forKey:)":{"role":"symbol","title":"createdAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/createdat(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/keycount()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/allkeys().json b/docs/data/documentation/bodega/objectstorage/allkeys().json index 41d94ba..e55cafa 100644 --- a/docs/data/documentation/bodega/objectstorage/allkeys().json +++ b/docs/data/documentation/bodega/objectstorage/allkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC7allKeysSayAA8CacheKeyVGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allkeys()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC7allKeysSayAA8CacheKeyVGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to find all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allkeys()"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/allobjects().json b/docs/data/documentation/bodega/objectstorage/allobjects().json index e9350fa..126d369 100644 --- a/docs/data/documentation/bodega/objectstorage/allobjects().json +++ b/docs/data/documentation/bodega/objectstorage/allobjects().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allobjects()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"title":"allObjects()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC10allObjectsSayxGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allobjects()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"title":"allObjects()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC10allObjectsSayxGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/allobjectsandkeys().json b/docs/data/documentation/bodega/objectstorage/allobjectsandkeys().json index 001fe95..bb79015 100644 --- a/docs/data/documentation/bodega/objectstorage/allobjectsandkeys().json +++ b/docs/data/documentation/bodega/objectstorage/allobjectsandkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s and it’s associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s, but if you"},{"type":"text","text":" "},{"type":"text","text":"don’t need to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"title":"allObjectsAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC17allObjectsAndKeysSayAA8CacheKeyV3key_x6objecttGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjectsAndKeys()":{"role":"symbol","title":"allObjectsAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s and it’s associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s, but if you"},{"type":"text","text":" "},{"type":"text","text":"don’t need to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"title":"allObjectsAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC17allObjectsAndKeysSayAA8CacheKeyV3key_x6objecttGyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/allObjectsAndKeys()":{"role":"symbol","title":"allObjectsAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjectsAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all of the objects and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjectsAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjectsandkeys()"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/allObjects()":{"role":"symbol","title":"allObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":" objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/allObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/allobjects()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/createdat(forkey:).json b/docs/data/documentation/bodega/objectstorage/createdat(forkey:).json index d4d0f57..a8a4229 100644 --- a/docs/data/documentation/bodega/objectstorage/createdat(forkey:).json +++ b/docs/data/documentation/bodega/objectstorage/createdat(forkey:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" if it exists, nil if there is no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/createdat(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC9createdAt6forKey10Foundation4DateVSgAA05CacheG0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/createdAt(forKey:)":{"role":"symbol","title":"createdAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/createdat(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" if it exists, nil if there is no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/createdat(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC9createdAt6forKey10Foundation4DateVSgAA05CacheG0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/createdAt(forKey:)":{"role":"symbol","title":"createdAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/createdAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/createdat(forkey:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/init(storage:).json b/docs/data/documentation/bodega/objectstorage/init(storage:).json index 2af6e6e..af3219a 100644 --- a/docs/data/documentation/bodega/objectstorage/init(storage:).json +++ b/docs/data/documentation/bodega/objectstorage/init(storage:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP","text":"StorageEngine"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"storage","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to initialize an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" instance with."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/init(storage:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"title":"init(storage:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega13ObjectStorageC7storageACyxGAA0C6Engine_p_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/init(storage:)":{"role":"symbol","title":"init(storage:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/init(storage:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP","text":"StorageEngine"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"storage","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to initialize an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" instance with."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/init(storage:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"title":"init(storage:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega13ObjectStorageC7storageACyxGAA0C6Engine_p_tcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/init(storage:)":{"role":"symbol","title":"init(storage:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"storage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StorageEngine","preciseIdentifier":"s:6Bodega13StorageEngineP"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" object for persisting "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/init(storage:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/init(storage:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/keycount().json b/docs/data/documentation/bodega/objectstorage/keycount().json index d84d495..aacb8eb 100644 --- a/docs/data/documentation/bodega/objectstorage/keycount().json +++ b/docs/data/documentation/bodega/objectstorage/keycount().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The object\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC8keyCountSiyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The object\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC8keyCountSiyYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through a directory to find the total number of objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/keycount()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/object(forkey:).json b/docs/data/documentation/bodega/objectstorage/object(forkey:).json index 4b84f2e..acd2278 100644 --- a/docs/data/documentation/bodega/objectstorage/object(forkey:).json +++ b/docs/data/documentation/bodega/objectstorage/object(forkey:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The object stored if it exists, nil if there is no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/object(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"title":"object(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC6object6forKeyxSgAA05CacheF0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/object(forKey:)":{"role":"symbol","title":"object(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/object(forkey:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The object stored if it exists, nil if there is no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/object(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"title":"object(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC6object6forKeyxSgAA05CacheF0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/object(forKey:)":{"role":"symbol","title":"object(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"object"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/object(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/object(forkey:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/objects(forkeys:).json b/docs/data/documentation/bodega/objectstorage/objects(forkeys:).json index 5dd921f..d9fccf7 100644 --- a/docs/data/documentation/bodega/objectstorage/objects(forkeys:).json +++ b/docs/data/documentation/bodega/objectstorage/objects(forkeys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":" "},{"kind":"internalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s stored if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there are no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/objects(forkeys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"title":"objects(forKeys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC7objects7forKeysSayxGSayAA8CacheKeyVG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":" "},{"kind":"internalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s stored if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there are no "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/objects(forkeys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"title":"objects(forKeys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC7objects7forKeysSayxGSayAA8CacheKeyVG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/objectsandkeys(keys:).json b/docs/data/documentation/bodega/objectstorage/objectsandkeys(keys:).json index b066766..7eca541 100644 --- a/docs/data/documentation/bodega/objectstorage/objectsandkeys(keys:).json +++ b/docs/data/documentation/bodega/objectstorage/objectsandkeys(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" read if it exists,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Objects"},{"type":"text","text":"s matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s, but if you don’t need to know"},{"type":"text","text":" "},{"type":"text","text":"which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"title":"objectsAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC14objectsAndKeys4keysSayAA8CacheKeyV3key_x6objecttGSayAGG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/objectsAndKeys(keys:)":{"role":"symbol","title":"objectsAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" read if it exists,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Objects"},{"type":"text","text":"s matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s, but if you don’t need to know"},{"type":"text","text":" "},{"type":"text","text":"which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" being retrieved you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"title":"objectsAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC14objectsAndKeys4keysSayAA8CacheKeyV3key_x6objecttGSayAGG_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage/objects(forKeys:)":{"role":"symbol","title":"objects(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objects"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objects(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objects(forkeys:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/objectsAndKeys(keys:)":{"role":"symbol","title":"objectsAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"objectsAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter"},{"type":"text","text":" "},{"type":"text","text":"and returns an array "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" associated with the passed in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/objectsAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/objectsandkeys(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/removeallobjects().json b/docs/data/documentation/bodega/objectstorage/removeallobjects().json index 03d95d9..f68ac78 100644 --- a/docs/data/documentation/bodega/objectstorage/removeallobjects().json +++ b/docs/data/documentation/bodega/objectstorage/removeallobjects().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeallobjects()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeAllObjects()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC16removeAllObjectsyyYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeAllObjects()":{"role":"symbol","title":"removeAllObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeallobjects()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeallobjects()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeAllObjects()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC16removeAllObjectsyyYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeAllObjects()":{"role":"symbol","title":"removeAllObjects()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllObjects"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all of the "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeAllObjects()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeallobjects()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/removeobject(forkey:).json b/docs/data/documentation/bodega/objectstorage/removeobject(forkey:).json index 7979280..b1e3ab6 100644 --- a/docs/data/documentation/bodega/objectstorage/removeobject(forkey:).json +++ b/docs/data/documentation/bodega/objectstorage/removeobject(forkey:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeObject(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC06removeB06forKeyyAA05CacheF0V_tYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKey:)":{"role":"symbol","title":"removeObject(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeObject(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC06removeB06forKeyyAA05CacheF0V_tYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKey:)":{"role":"symbol","title":"removeObject(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkey:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/removeobject(forkeys:).json b/docs/data/documentation/bodega/objectstorage/removeobject(forkeys:).json index b0ca3a4..c883e85 100644 --- a/docs/data/documentation/bodega/objectstorage/removeobject(forkeys:).json +++ b/docs/data/documentation/bodega/objectstorage/removeobject(forkeys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":" "},{"kind":"internalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeObject(forKeys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC06removeB07forKeysySayAA8CacheKeyVG_tYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKeys:)":{"role":"symbol","title":"removeObject(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":" "},{"kind":"internalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"s."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"removeObject(forKeys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC06removeB07forKeysySayAA8CacheKeyVG_tYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/removeObject(forKeys:)":{"role":"symbol","title":"removeObject(forKeys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeObject"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKeys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s from the underlying Storage based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/removeObject(forKeys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/removeobject(forkeys:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/store(_:).json b/docs/data/documentation/bodega/objectstorage/store(_:).json index dbbe72a..0c7a6cb 100644 --- a/docs/data/documentation/bodega/objectstorage/store(_:).json +++ b/docs/data/documentation/bodega/objectstorage/store(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"objectsAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"objectsAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple objects with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/store(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"store(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC5storeyySayAA8CacheKeyV3key_x6objecttGYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:)":{"role":"symbol","title":"store(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"objectsAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"objectsAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Object)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple objects with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/store(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"store(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC5storeyySayAA8CacheKeyV3key_x6objecttGYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:)":{"role":"symbol","title":"store(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"[Object]"},{"type":"text","text":"s based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" passed in the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/store(_:forkey:).json b/docs/data/documentation/bodega/objectstorage/store(_:forkey:).json index 3e5bf7a..ac7ada0 100644 --- a/docs/data/documentation/bodega/objectstorage/store(_:forkey:).json +++ b/docs/data/documentation/bodega/objectstorage/store(_:forkey:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"object","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The object being stored."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/store(_:forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"store(_:forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC5store_6forKeyyx_AA05CacheF0VtYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:forKey:)":{"role":"symbol","title":"store(_:forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:forkey:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"object"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"object","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The object being stored."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/store(_:forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"title":"store(_:forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC5store_6forKeyyx_AA05CacheF0VtYaKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/store(_:forKey:)":{"role":"symbol","title":"store(_:forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"store"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Object"},{"kind":"text","text":", "},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":" based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/store(_:forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/store(_:forkey:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/objectstorage/updatedat(forkey:).json b/docs/data/documentation/bodega/objectstorage/updatedat(forkey:).json index 9f11c7d..d4ecd1d 100644 --- a/docs/data/documentation/bodega/objectstorage/updatedat(forkey:).json +++ b/docs/data/documentation/bodega/objectstorage/updatedat(forkey:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The modification date of the object if it exists, nil if there is no object stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC9updatedAt6forKey10Foundation4DateVSgAA05CacheG0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/ObjectStorage/updatedAt(forKey:)":{"role":"symbol","title":"updatedAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The modification date of the object if it exists, nil if there is no object stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching an "},{"type":"codeVoice","code":"Object"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(forKey:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega13ObjectStorageC9updatedAt6forKey10Foundation4DateVSgAA05CacheG0V_tYaF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage/updatedAt(forKey:)":{"role":"symbol","title":"updatedAt(forKey:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"forKey"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the object represented by the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage\/updatedAt(forKey:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/objectstorage\/updatedat(forkey:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine.json b/docs/data/documentation/bodega/sqlitestorageengine.json index 8553d1d..e99327e 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine.json +++ b/docs/data/documentation/bodega/sqlitestorageengine.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is significantly faster than "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" because it uses SQLite"},{"type":"text","text":" "},{"type":"text","text":"rather than saving files to disk. As much as "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" was optimized, file system operations"},{"type":"text","text":" "},{"type":"text","text":"like reading, writing, and removing files have a relatively high cost per operation, and SQLite"},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html"},{"type":"text","text":" to be significantly faster than files for storing data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you’re not using your own persistence mechanism such as Realm, Core Data, etc,"},{"type":"text","text":" "},{"type":"text","text":"it is highly recommended you use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" to power your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"When initializing a database there is a possibility that the database Connection will fail."},{"type":"text","text":" "},{"type":"text","text":"There isn’t much reason to expect this, but it is a possibility so this initializer returns an optional."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Generally creating implicitly unwrapped optionals is frowned upon, but it’s worth asking"},{"type":"text","text":" "},{"type":"text","text":"what will happen if you use one when initializing a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Code like this may look dangerous at first glance because of the "},{"type":"codeVoice","code":"!"},{"type":"text","text":","},{"type":"text","text":" "},{"type":"text","text":"but if that database is storing important data and fails to initialize"},{"type":"text","text":" "},{"type":"text","text":"then the app will likely not function as the user expects."}]},{"type":"codeListing","syntax":null,"code":["let storageEngine = SQLiteStorageEngine(directory: .documents(appending: \"Notes))!"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The alternate experience is to continue running the app with a database not capable of saving data,"},{"type":"text","text":" "},{"type":"text","text":"an equally bad if not more confusing experience for a user."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"One alternative is to make the initializer "},{"type":"codeVoice","code":"throw"},{"type":"text","text":", and that’s a perfectly reasonable tradeoff."},{"type":"text","text":" "},{"type":"text","text":"While that is doable, I believe it’s very unlikely the caller will have specific remedies for"},{"type":"text","text":" "},{"type":"text","text":"specific SQLite errors, so for simplicity I’ve made the initializer return an optional "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"title":"SQLiteStorageEngine","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega19SQLiteStorageEngineC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)"]},{"title":"Type Properties","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default"]},{"title":"Type Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)"]}],"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/init(directory:databaseFilename:)":{"role":"symbol","title":"init(directory:databaseFilename:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default":{"role":"symbol","title":"default","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"https://www.sqlite.org/fasterthanfs.html":{"title":"has been shown","titleInlineContent":[{"type":"text","text":"has been shown"}],"type":"link","identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html","url":"https:\/\/www.sqlite.org\/fasterthanfs.html"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default(appendingPath:)":{"role":"symbol","title":"default(appendingPath:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"actor"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is significantly faster than "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" because it uses SQLite"},{"type":"text","text":" "},{"type":"text","text":"rather than saving files to disk. As much as "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" was optimized, file system operations"},{"type":"text","text":" "},{"type":"text","text":"like reading, writing, and removing files have a relatively high cost per operation, and SQLite"},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html"},{"type":"text","text":" to be significantly faster than files for storing data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you’re not using your own persistence mechanism such as Realm, Core Data, etc,"},{"type":"text","text":" "},{"type":"text","text":"it is highly recommended you use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" to power your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"When initializing a database there is a possibility that the database Connection will fail."},{"type":"text","text":" "},{"type":"text","text":"There isn’t much reason to expect this, but it is a possibility so this initializer returns an optional."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Generally creating implicitly unwrapped optionals is frowned upon, but it’s worth asking"},{"type":"text","text":" "},{"type":"text","text":"what will happen if you use one when initializing a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Code like this may look dangerous at first glance because of the "},{"type":"codeVoice","code":"!"},{"type":"text","text":","},{"type":"text","text":" "},{"type":"text","text":"but if that database is storing important data and fails to initialize"},{"type":"text","text":" "},{"type":"text","text":"then the app will likely not function as the user expects."}]},{"type":"codeListing","syntax":null,"code":["let storageEngine = SQLiteStorageEngine(directory: .documents(appending: \"Notes))!"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The alternate experience is to continue running the app with a database not capable of saving data,"},{"type":"text","text":" "},{"type":"text","text":"an equally bad if not more confusing experience for a user."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"One alternative is to make the initializer "},{"type":"codeVoice","code":"throw"},{"type":"text","text":", and that’s a perfectly reasonable tradeoff."},{"type":"text","text":" "},{"type":"text","text":"While that is doable, I believe it’s very unlikely the caller will have specific remedies for"},{"type":"text","text":" "},{"type":"text","text":"specific SQLite errors, so for simplicity I’ve made the initializer return an optional "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"title":"SQLiteStorageEngine","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:6Bodega19SQLiteStorageEngineC","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)"]},{"title":"Type Properties","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default"]},{"title":"Type Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)"]}],"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"},"https://www.sqlite.org/fasterthanfs.html":{"title":"has been shown","titleInlineContent":[{"type":"text","text":"has been shown"}],"type":"link","identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html","url":"https:\/\/www.sqlite.org\/fasterthanfs.html"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default(appendingPath:)":{"role":"symbol","title":"default(appendingPath:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/init(directory:databaseFilename:)":{"role":"symbol","title":"init(directory:databaseFilename:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default":{"role":"symbol","title":"default","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/allkeys().json b/docs/data/documentation/bodega/sqlitestorageengine/allkeys().json index 673e9f8..afa9e0d 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/allkeys().json +++ b/docs/data/documentation/bodega/sqlitestorageengine/allkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC7allKeysSayAA8CacheKeyVGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/allkeys()"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the keys contained in a directory."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"title":"allKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC7allKeysSayAA8CacheKeyVGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Iterates through the database to find all of the keys."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/allKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/createdat(key:).json b/docs/data/documentation/bodega/sqlitestorageengine/createdat(key:).json index bf1772d..1e28efd 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/createdat(key:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/createdat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The creation date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"createdAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the date of creation for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/createdAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/default(appendingpath:).json b/docs/data/documentation/bodega/sqlitestorageengine/default(appendingpath:).json index ca6a852..b9c9ae1 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/default(appendingpath:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/default(appendingpath:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":" "},{"kind":"internalParam","text":"pathComponent"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC","text":"SQLiteStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"pathComponent","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The path to append to the platform-specific defatult storage directory."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Equivalent to:"},{"type":"text","text":" "},{"type":"codeVoice","code":"SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Your Path\"))"}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"kind":"symbol","metadata":{"role":"symbol","title":"default(appendingPath:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC7default13appendingPathACSS_tFZ","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default(appendingPath:)":{"role":"symbol","title":"default(appendingPath:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":" "},{"kind":"internalParam","text":"pathComponent"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC","text":"SQLiteStorageEngine"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"pathComponent","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The path to append to the platform-specific defatult storage directory."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Equivalent to:"},{"type":"text","text":" "},{"type":"codeVoice","code":"SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Your Path\"))"}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"kind":"symbol","metadata":{"role":"symbol","title":"default(appendingPath:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC7default13appendingPathACSS_tFZ","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default(appendingPath:)":{"role":"symbol","title":"default(appendingPath:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":"("},{"kind":"externalParam","text":"appendingPath"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default(appendingPath:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default(appendingpath:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/default.json b/docs/data/documentation/bodega/sqlitestorageengine/default.json index c2c62cc..7bcd55a 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/default.json +++ b/docs/data/documentation/bodega/sqlitestorageengine/default.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC","text":"SQLiteStorageEngine"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Equivalent to:"},{"type":"text","text":" "},{"type":"codeVoice","code":"SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Data\"))"}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/default"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"kind":"symbol","metadata":{"role":"symbol","title":"default","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"symbolKind":"property","externalID":"s:6Bodega19SQLiteStorageEngineC7defaultACvpZ","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default":{"role":"symbol","title":"default","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC","text":"SQLiteStorageEngine"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Equivalent to:"},{"type":"text","text":" "},{"type":"codeVoice","code":"SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Data\"))"}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/default"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"kind":"symbol","metadata":{"role":"symbol","title":"default","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"symbolKind":"property","externalID":"s:6Bodega19SQLiteStorageEngineC7defaultACvpZ","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/default":{"role":"symbol","title":"default","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"`default`"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"SQLiteStorageEngine","preciseIdentifier":"s:6Bodega19SQLiteStorageEngineC"}],"abstract":[{"type":"text","text":"An "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" located in the platform-specific default storage directory."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/default","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/default"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/init(directory:databasefilename:).json b/docs/data/documentation/bodega/sqlitestorageengine/init(directory:databasefilename:).json index f7976de..2b71055 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/init(directory:databasefilename:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/init(directory:databasefilename:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":" "},{"kind":"internalParam","text":"filename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" = \"data\")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"directory","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A directory on the filesystem where your files will be written to."},{"type":"text","text":" "},{"type":"codeVoice","code":"FileManager.Directory"},{"type":"text","text":" is a type-safe wrapper around URL that provides sensible defaults like"},{"type":"text","text":" "},{"type":"codeVoice","code":".documents(appendingPath:)"},{"type":"text","text":", "},{"type":"codeVoice","code":".caches(appendingPath:)"},{"type":"text","text":", and more."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(directory:databaseFilename:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega19SQLiteStorageEngineC9directory16databaseFilenameACSgSo13NSFileManagerCAAE9DirectoryV_SStcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/init(directory:databaseFilename:)":{"role":"symbol","title":"init(directory:databaseFilename:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":" "},{"kind":"internalParam","text":"filename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" = \"data\")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"directory","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A directory on the filesystem where your files will be written to."},{"type":"text","text":" "},{"type":"codeVoice","code":"FileManager.Directory"},{"type":"text","text":" is a type-safe wrapper around URL that provides sensible defaults like"},{"type":"text","text":" "},{"type":"codeVoice","code":".documents(appendingPath:)"},{"type":"text","text":", "},{"type":"codeVoice","code":".caches(appendingPath:)"},{"type":"text","text":", and more."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(directory:databaseFilename:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:6Bodega19SQLiteStorageEngineC9directory16databaseFilenameACSgSo13NSFileManagerCAAE9DirectoryV_SStcfc","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/init(directory:databaseFilename:)":{"role":"symbol","title":"init(directory:databaseFilename:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"directory"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"FileManager","preciseIdentifier":"c:objc(cs)NSFileManager"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Directory","preciseIdentifier":"s:So13NSFileManagerC6BodegaE9DirectoryV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"databaseFilename"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializes a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" for persisting "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to disk."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/init(directory:databaseFilename:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/init(directory:databasefilename:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/keycount().json b/docs/data/documentation/bodega/sqlitestorageengine/keycount().json index 553ee84..aabb2e5 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/keycount().json +++ b/docs/data/documentation/bodega/sqlitestorageengine/keycount().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The file\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC8keyCountSiyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The file\/key count."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"keyCount()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC8keyCountSiyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Iterates through the database to find the total number of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyCount()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/keyexists(_:).json b/docs/data/documentation/bodega/sqlitestorageengine/keyexists(_:).json index 4dd1f6c..7f32435 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/keyexists(_:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/keyexists(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If the key exists the function returns true, false if it does not."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key to for existence."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"keyExists(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9keyExistsySbAA8CacheKeyVF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If the key exists the function returns true, false if it does not."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The key to for existence."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"title":"keyExists(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9keyExistsySbAA8CacheKeyVF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"Checks whether a value with a key is persisted."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/keyExists(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/read(key:).json b/docs/data/documentation/bodega/sqlitestorageengine/read(key:).json index 9ea7831..99dcdd8 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/read(key:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/read(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"title":"read(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC4read3key10Foundation4DataVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"title":"read(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC4read3key10Foundation4DataVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/read(keys:).json b/docs/data/documentation/bodega/sqlitestorageengine/read(keys:).json index f9fb63d..6c66c0d 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/read(keys:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/read(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"read(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"read(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/readalldata().json b/docs/data/documentation/bodega/sqlitestorageengine/readalldata().json index ab9deb7..d906242 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/readalldata().json +++ b/docs/data/documentation/bodega/sqlitestorageengine/readalldata().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained in the database."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readalldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"readAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC11readAllDataSay10Foundation0G0VGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained in the database."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readalldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"title":"readAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC11readAllDataSay10Foundation0G0VGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/readalldataandkeys().json b/docs/data/documentation/bodega/sqlitestorageengine/readalldataandkeys().json index 7e93fd7..3644434 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/readalldataandkeys().json +++ b/docs/data/documentation/bodega/sqlitestorageengine/readalldataandkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readAllDataAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0G0V4datatGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readAllDataAndKeys()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0G0V4datatGyF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllDataAndKeys()":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the database and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllDataAndKeys()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldataandkeys()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readAllData()":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readalldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/readdataandkeys(keys:).json b/docs/data/documentation/bodega/sqlitestorageengine/readdataandkeys(keys:).json index 6288125..b70e3d8 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/readdataandkeys(keys:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/readdataandkeys(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" if the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0F0V4datatGSayAGG_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" if the "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an empty array if there are no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0F0V4datatGSayAGG_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in a tuple of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over data, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" that led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)"},{"type":"text","text":" instead."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/readDataAndKeys(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/read(keys:)":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/read(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/read(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/remove(key:).json b/docs/data/documentation/bodega/sqlitestorageengine/remove(key:).json index ed1cbe1..c9f7e5e 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/remove(key:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/remove(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for finding the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to remove."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"remove(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC6remove3keyyAA8CacheKeyV_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for finding the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to remove."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"remove(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC6remove3keyyAA8CacheKeyV_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from disk based on the associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/remove(keys:).json b/docs/data/documentation/bodega/sqlitestorageengine/remove(keys:).json index ed28a8b..0b805cb 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/remove(keys:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/remove(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to remove."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"title":"remove(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC6remove4keysySayAA8CacheKeyVG_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to remove."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"title":"remove(keys:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC6remove4keysySayAA8CacheKeyVG_tKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/remove(keys:)":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/remove(keys:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/remove(keys:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/removealldata().json b/docs/data/documentation/bodega/sqlitestorageengine/removealldata().json index 3ab141b..2665d68 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/removealldata().json +++ b/docs/data/documentation/bodega/sqlitestorageengine/removealldata().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"title":"removeAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC13removeAllDatayyKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"title":"removeAllData()","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC13removeAllDatayyKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items from the database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/removeAllData()","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/updatedat(key:).json b/docs/data/documentation/bodega/sqlitestorageengine/updatedat(key:).json index fa441b1..644aa8c 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/updatedat(key:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/updatedat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The modification date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The modification date of the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" on disk if it exists, nil if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" stored for the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}]}]},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"updatedAt(key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Returns the modification date for the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item matching the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":", if it exists."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/updatedAt(key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/write(_:).json b/docs/data/documentation/bodega/sqlitestorageengine/write(_:).json index 40bc78a..6c05c4e 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/write(_:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/write(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"dataAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"title":"write(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"dataAndKeys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" to store"},{"type":"text","text":" "},{"type":"text","text":"multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items with their associated keys at once."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"title":"write(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes an array of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items to the database with their associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" from the tuple."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/sqlitestorageengine/write(_:key:).json b/docs/data/documentation/bodega/sqlitestorageengine/write(_:key:).json index 4f9fa8d..54bf02d 100644 --- a/docs/data/documentation/bodega/sqlitestorageengine/write(_:key:).json +++ b/docs/data/documentation/bodega/sqlitestorageengine/write(_:key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"data","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being stored to disk."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"write(_:key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC5write_3keyy10Foundation4DataV_AA8CacheKeyVtKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"data","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being stored to disk."}]}]},{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" for matching "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"write(_:key:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:6Bodega19SQLiteStorageEngineC5write_3keyy10Foundation4DataV_AA8CacheKeyVtKF","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Writes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" to the database with an associated "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine\/write(_:key:)","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/sqlitestorageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine.json b/docs/data/documentation/bodega/storageengine.json index b726f26..90fb2a0 100644 --- a/docs/data/documentation/bodega/storageengine.json +++ b/docs/data/documentation/bodega/storageengine.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Actor","preciseIdentifier":"s:ScA"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is a construct you can build that plugs into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" "},{"type":"text","text":"to use for persisting data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This library has two implementations of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"Both of these can serve as inspiration if you have your own persistence mechanism (such as Realm, CoreData, etc)."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to disk using file system operations."},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to an SQLite database under the hood."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have your own way of storing data then you can refer to "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" "},{"type":"text","text":"for inspiration, but all you need to do is conform to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol"},{"type":"text","text":" "},{"type":"text","text":"and initialize "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" with that storage."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"],"kind":"relationships","title":"Conforming Types","type":"conformingTypes"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"title":"StorageEngine","roleHeading":"Protocol","role":"symbol","symbolKind":"protocol","externalID":"s:6Bodega13StorageEngineP","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)"]}],"references":{"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"},"doc://Bodega/documentation/Bodega/StorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"},"doc://Bodega/documentation/Bodega/StorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/allkeys()"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:key:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"doc://Bodega/documentation/Bodega/StorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Actor","preciseIdentifier":"s:ScA"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is a construct you can build that plugs into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" "},{"type":"text","text":"to use for persisting data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This library has two implementations of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"Both of these can serve as inspiration if you have your own persistence mechanism (such as Realm, CoreData, etc)."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to disk using file system operations."},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to an SQLite database under the hood."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have your own way of storing data then you can refer to "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" "},{"type":"text","text":"for inspiration, but all you need to do is conform to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol"},{"type":"text","text":" "},{"type":"text","text":"and initialize "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" with that storage."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Bodega\/s8SendableP","doc:\/\/Bodega\/ScA"],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"],"kind":"relationships","title":"Conforming Types","type":"conformingTypes"}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"title":"StorageEngine","roleHeading":"Protocol","role":"symbol","symbolKind":"protocol","externalID":"s:6Bodega13StorageEngineP","modules":[{"name":"Bodega"}],"navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)"]}],"references":{"doc://Bodega/documentation/Bodega/StorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/allkeys()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keycount()"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega/StorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:key:)"},"doc://Bodega/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/Bodega\/s8SendableP"},"doc://Bodega/documentation/Bodega/StorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/removealldata()"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/createdat(key:)"},"doc://Bodega/ScA":{"type":"unresolvable","title":"_Concurrency.Actor","identifier":"doc:\/\/Bodega\/ScA"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/allkeys().json b/docs/data/documentation/bodega/storageengine/allkeys().json index 3bcba6e..b0883e5 100644 --- a/docs/data/documentation/bodega/storageengine/allkeys().json +++ b/docs/data/documentation/bodega/storageengine/allkeys().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"allKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP7allKeysSayAA8CacheKeyVGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/allkeys()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/allkeys()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"allKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP7allKeysSayAA8CacheKeyVGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/allKeys()":{"role":"symbol","title":"allKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"allKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/allKeys()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/allkeys()"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/createdat(key:).json b/docs/data/documentation/bodega/storageengine/createdat(key:).json index ef283c7..b2ba23c 100644 --- a/docs/data/documentation/bodega/storageengine/createdat(key:).json +++ b/docs/data/documentation/bodega/storageengine/createdat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"createdAt(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/createdat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"createdAt(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9createdAt3key10Foundation4DateVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/createdAt(key:)":{"role":"symbol","title":"createdAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createdAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/createdAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/createdat(key:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/keycount().json b/docs/data/documentation/bodega/storageengine/keycount().json index 3b14d5d..d0c27b4 100644 --- a/docs/data/documentation/bodega/storageengine/keycount().json +++ b/docs/data/documentation/bodega/storageengine/keycount().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"keyCount()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP8keyCountSiyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keycount()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/keycount()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"keyCount()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP8keyCountSiyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/keyCount()":{"role":"symbol","title":"keyCount()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyCount"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyCount()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keycount()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/keyexists(_:).json b/docs/data/documentation/bodega/storageengine/keyexists(_:).json index 5a82fb4..f94bce8 100644 --- a/docs/data/documentation/bodega/storageengine/keyexists(_:).json +++ b/docs/data/documentation/bodega/storageengine/keyexists(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"keyExists(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9keyExistsySbAA8CacheKeyVYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/keyexists(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"keyExists(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9keyExistsySbAA8CacheKeyVYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/keyExists(_:)":{"role":"symbol","title":"keyExists(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"keyExists"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/keyExists(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/keyexists(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/read(key:).json b/docs/data/documentation/bodega/storageengine/read(key:).json index 878162f..718d66e 100644 --- a/docs/data/documentation/bodega/storageengine/read(key:).json +++ b/docs/data/documentation/bodega/storageengine/read(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP4read3key10Foundation4DataVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(key:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP4read3key10Foundation4DataVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/read(key:)":{"role":"symbol","title":"read(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/read(keys:)-1i8k4.json b/docs/data/documentation/bodega/storageengine/read(keys:)-1i8k4.json index 3832e97..49bdee6 100644 --- a/docs/data/documentation/bodega/storageengine/read(keys:)-1i8k4.json +++ b/docs/data/documentation/bodega/storageengine/read(keys:)-1i8k4.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-1i8k4":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" stored on disk if the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s exist,"},{"type":"text","text":" "},{"type":"text","text":"and an "},{"type":"codeVoice","code":"[]"},{"type":"text","text":" if there is no "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" matching the "},{"type":"codeVoice","code":"keys"},{"type":"text","text":" passed in."}]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-1i8k4":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/read(keys:)-90zkt.json b/docs/data/documentation/bodega/storageengine/read(keys:)-90zkt.json index 952f5cb..fa2a4ce 100644 --- a/docs/data/documentation/bodega/storageengine/read(keys:)-90zkt.json +++ b/docs/data/documentation/bodega/storageengine/read(keys:)-90zkt.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-1i8k4":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"read(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP4read4keysSay10Foundation4DataVGSayAA8CacheKeyVG_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-1i8k4":{"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-1i8k4","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-1i8k4"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/read(keys:)-90zkt":{"defaultImplementations":1,"role":"symbol","title":"read(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/read(keys:)-90zkt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/read(keys:)-90zkt"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/readalldata()-1gzc6.json b/docs/data/documentation/bodega/storageengine/readalldata()-1gzc6.json index 0561de3..468c4ed 100644 --- a/docs/data/documentation/bodega/storageengine/readalldata()-1gzc6.json +++ b/docs/data/documentation/bodega/storageengine/readalldata()-1gzc6.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP11readAllDataSay10Foundation0F0VGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-56p4o":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-56p4o"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP11readAllDataSay10Foundation0F0VGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-56p4o":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-56p4o"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/readalldata()-56p4o.json b/docs/data/documentation/bodega/storageengine/readalldata()-56p4o.json index 341b05a..eda5024 100644 --- a/docs/data/documentation/bodega/storageengine/readalldata()-56p4o.json +++ b/docs/data/documentation/bodega/storageengine/readalldata()-56p4o.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained in a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldata()-56p4o"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE11readAllDataSay10Foundation0F0VGyYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-56p4o":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-56p4o"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" contained in a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldata()-56p4o"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE11readAllDataSay10Foundation0F0VGyYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-56p4o":{"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-56p4o","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-56p4o"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllData()-1gzc6":{"defaultImplementations":1,"role":"symbol","title":"readAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> ["},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllData()-1gzc6","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldata()-1gzc6"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/readalldataandkeys()-98wnz.json b/docs/data/documentation/bodega/storageengine/readalldataandkeys()-98wnz.json index 5bc36df..bc8382e 100644 --- a/docs/data/documentation/bodega/storageengine/readalldataandkeys()-98wnz.json +++ b/docs/data/documentation/bodega/storageengine/readalldataandkeys()-98wnz.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"codeVoice","code":"readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllDataAndKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0F0V4datatGyYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-98wnz":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of the "},{"type":"codeVoice","code":"[Data]"},{"type":"text","text":" and it’s associated "},{"type":"codeVoice","code":"CacheKey"},{"type":"text","text":"s contained in a directory."}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This method returns the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" together in an array of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" "},{"type":"text","text":"allowing you to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a specific "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" item being retrieved."},{"type":"text","text":" "},{"type":"text","text":"This can be useful in allowing manual iteration over "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items, but if you don’t need"},{"type":"text","text":" "},{"type":"text","text":"to know which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" led to a piece of "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" being retrieved"},{"type":"text","text":" "},{"type":"text","text":"you can use "},{"type":"codeVoice","code":"readAllData()"},{"type":"text","text":" instead."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllDataAndKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0F0V4datatGyYaF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-98wnz":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/readalldataandkeys()-9a3kk.json b/docs/data/documentation/bodega/storageengine/readalldataandkeys()-9a3kk.json index de454f4..a3f6f71 100644 --- a/docs/data/documentation/bodega/storageengine/readalldataandkeys()-9a3kk.json +++ b/docs/data/documentation/bodega/storageengine/readalldataandkeys()-9a3kk.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllDataAndKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0F0V4datatGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-98wnz":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readAllDataAndKeys()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP18readAllDataAndKeysSayAA8CacheKeyV3key_10Foundation0F0V4datatGyYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-98wnz":{"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[{"type":"text","text":"Reads all the "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" located in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" and returns an array"},{"type":"text","text":" "},{"type":"text","text":"of "},{"type":"codeVoice","code":"[(CacheKey, Data)]"},{"type":"text","text":" tuples associated with the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-98wnz","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-98wnz"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readAllDataAndKeys()-9a3kk":{"defaultImplementations":1,"role":"symbol","title":"readAllDataAndKeys()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readAllDataAndKeys"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readAllDataAndKeys()-9a3kk","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readalldataandkeys()-9a3kk"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/readdataandkeys(keys:).json b/docs/data/documentation/bodega/storageengine/readdataandkeys(keys:).json index 0dc5497..5ae697a 100644 --- a/docs/data/documentation/bodega/storageengine/readdataandkeys(keys:).json +++ b/docs/data/documentation/bodega/storageengine/readdataandkeys(keys:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0E0V4datatGSayAGG_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"readDataAndKeys(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP15readDataAndKeys4keysSayAA8CacheKeyV3key_10Foundation0E0V4datatGSayAGG_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/readDataAndKeys(keys:)":{"role":"symbol","title":"readDataAndKeys(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"readDataAndKeys"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/readDataAndKeys(keys:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/readdataandkeys(keys:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/remove(key:).json b/docs/data/documentation/bodega/storageengine/remove(key:).json index 0cbf260..1a8890a 100644 --- a/docs/data/documentation/bodega/storageengine/remove(key:).json +++ b/docs/data/documentation/bodega/storageengine/remove(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP6remove3keyyAA8CacheKeyV_tYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP6remove3keyyAA8CacheKeyV_tYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/remove(key:)":{"role":"symbol","title":"remove(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/remove(keys:)-2lqqc.json b/docs/data/documentation/bodega/storageengine/remove(keys:)-2lqqc.json index 56366eb..38f15d0 100644 --- a/docs/data/documentation/bodega/storageengine/remove(keys:)-2lqqc.json +++ b/docs/data/documentation/bodega/storageengine/remove(keys:)-2lqqc.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP6remove4keysySayAA8CacheKeyVG_tYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-fd9s":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"],"traits":[{"interfaceLanguage":"swift"}]}],"defaultImplementationsSections":[{"title":"StorageEngine Implementations","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s"]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP6remove4keysySayAA8CacheKeyVG_tYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-fd9s":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/remove(keys:)-fd9s.json b/docs/data/documentation/bodega/storageengine/remove(keys:)-fd9s.json index 222879a..6300374 100644 --- a/docs/data/documentation/bodega/storageengine/remove(keys:)-fd9s.json +++ b/docs/data/documentation/bodega/storageengine/remove(keys:)-fd9s.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE6remove4keysySayAA8CacheKeyVG_tYaKF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-fd9s":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"keys","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"[CacheKey]"},{"type":"text","text":" for matching multiple "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items."}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"kind":"symbol","metadata":{"role":"symbol","title":"remove(keys:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEnginePAAE6remove4keysySayAA8CacheKeyVG_tYaKF","extendedModule":"Bodega","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-fd9s":{"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Removes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" items based on the associated array of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":"s provided as a parameter."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-fd9s","kind":"symbol","type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-fd9s"},"doc://Bodega/documentation/Bodega/StorageEngine/remove(keys:)-2lqqc":{"defaultImplementations":1,"role":"symbol","title":"remove(keys:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"remove"},{"kind":"text","text":"("},{"kind":"externalParam","text":"keys"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/remove(keys:)-2lqqc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/remove(keys:)-2lqqc"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/removealldata().json b/docs/data/documentation/bodega/storageengine/removealldata().json index 4e34eb8..3e83a83 100644 --- a/docs/data/documentation/bodega/storageengine/removealldata().json +++ b/docs/data/documentation/bodega/storageengine/removealldata().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"removeAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP13removeAllDatayyYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/removealldata()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"removeAllData()","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP13removeAllDatayyYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/removeAllData()":{"role":"symbol","title":"removeAllData()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllData"},{"kind":"text","text":"() "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/removeAllData()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/removealldata()"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/updatedat(key:).json b/docs/data/documentation/bodega/storageengine/updatedat(key:).json index e460adc..4a91f74 100644 --- a/docs/data/documentation/bodega/storageengine/updatedat(key:).json +++ b/docs/data/documentation/bodega/storageengine/updatedat(key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"updatedAt(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/updatedat(key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"updatedAt(key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP9updatedAt3key10Foundation4DateVSgAA8CacheKeyV_tYaF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/updatedAt(key:)":{"role":"symbol","title":"updatedAt(key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updatedAt"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/updatedAt(key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/updatedat(key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/write(_:).json b/docs/data/documentation/bodega/storageengine/write(_:).json index 66d9ba6..e2ccb44 100644 --- a/docs/data/documentation/bodega/storageengine/write(_:).json +++ b/docs/data/documentation/bodega/storageengine/write(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"write(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:)"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"dataAndKeys"},{"kind":"text","text":": [(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/write(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"write(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP5writeyySayAA8CacheKeyV3key_10Foundation4DataV4datatGYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/StorageEngine/write(_:)":{"role":"symbol","title":"write(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"([(key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":", data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":")]) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/storageengine/write(_:key:).json b/docs/data/documentation/bodega/storageengine/write(_:key:).json index 1d1e126..f76d9d9 100644 --- a/docs/data/documentation/bodega/storageengine/write(_:key:).json +++ b/docs/data/documentation/bodega/storageengine/write(_:key:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"write(_:key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP5write_3keyy10Foundation4DataV_AA8CacheKeyVtYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV","text":"CacheKey"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/storageengine\/write(_:key:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"write(_:key:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:6Bodega13StorageEngineP5write_3keyy10Foundation4DataV_AA8CacheKeyVtYaKF","required":true,"modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega","doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"]]},"references":{"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/StorageEngine/write(_:key:)":{"role":"symbol","title":"write(_:key:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CacheKey","preciseIdentifier":"s:6Bodega8CacheKeyV"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine\/write(_:key:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/bodega\/storageengine\/write(_:key:)"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/CacheKey":{"role":"symbol","title":"CacheKey","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CacheKey"}],"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" is a type meant to provide a stable storage key."},{"type":"text","text":" "},{"type":"text","text":"If initialized from a URL the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey"},{"type":"text","text":" value will generate"},{"type":"text","text":" "},{"type":"text","text":"a consistent UUID-formatted MD5 version of the URL string as the key"},{"type":"text","text":" "},{"type":"text","text":"to ensure it is file system safe."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/CacheKey","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CacheKey"}],"url":"\/documentation\/bodega\/cachekey"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/using-objectstorage.json b/docs/data/documentation/bodega/using-objectstorage.json new file mode 100644 index 0000000..28b6e7d --- /dev/null +++ b/docs/data/documentation/bodega/using-objectstorage.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"You can learn about the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"},{"type":"text","text":", but at it’s most basic a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" defines functions such as "},{"type":"codeVoice","code":"read(key: CacheKey)"},{"type":"text","text":", "},{"type":"codeVoice","code":"write(data: Data, key: CacheKey)"},{"type":"text","text":", "},{"type":"codeVoice","code":"remove(key: CacheKey)"},{"type":"text","text":", to let you read, store, and delete "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" from your data storage mechanism."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"As Swift developers we’re used to interacting with higher-level types rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":". Our apps include types such as "},{"type":"codeVoice","code":"String"},{"type":"text","text":", "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", or custom models such as "},{"type":"codeVoice","code":"Note"},{"type":"text","text":" or "},{"type":"codeVoice","code":"Article"},{"type":"text","text":". "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" allows you to read, store, and delete Swift objects, that way you don’t have to think about the underlying data."}]},{"anchor":"Setting-Up-ObjectStorage","level":2,"type":"heading","text":"Setting Up ObjectStorage"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The relationship between "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is that an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" is initialized with a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", but the API you’ll be interacting does not change no matter which "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" you choose. This is very powerful because it gives us one API to work with no matter if we’re saving files to disk, reading objects from a database, or even downloading models from CloudKit. To achieve this we have only one requirement for our model, it must conform to "},{"type":"codeVoice","code":"Codable"},{"type":"text","text":". "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" requires "},{"type":"codeVoice","code":"Codable"},{"type":"text","text":" conformance so we can serialize items to their data storage, or even send them over the network."}]},{"type":"codeListing","syntax":"swift","code":["\/\/ This could be any StorageEngine, so let's use the default SQLiteStorageEngine","let articlesStorageEngine = SQLiteStorageEngine.default(appendingPath: \"Articles\")","let articlesStorage = ObjectStorage(storage: articlesStorageEngine)","","\/\/ Or on one line","let articlesStorage = ObjectStorage
("," storage: SQLiteStorageEngine.default(appendingPath: \"Articles\")",")"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Now that "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" is setup, using it couldn’t be simpler. The API is very similar to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" API, but with slight function name differences to make the API feel more natural when working with Swift types rather than raw "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":["let article = Article(title: \"How To Learn Swift\", text: \"... and then you practice for years\")","","\/\/ Write an article to your ObjectStorage","try await articlesStorage.store(article, forKey: CacheKey(\"how-to-learn-swift\"))","","\/\/ Read the article from your ObjectStorage","try await storage.object(forKey: CacheKey(\"how-to-learn-swift\"))"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"And that’s it! You now have a data storage layer that can work with your app’s Swift types in only a few lines of code."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/using-objectstorage"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage","interfaceLanguage":"swift"},"abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" serves as unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you to work with type-safe Swift models rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Using ObjectStorage","role":"article","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"seeAlsoSections":[{"title":"Fundamentals","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"doc://Bodega/documentation/Bodega/Using-StorageEngines":{"role":"article","title":"Using StorageEngines","abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-storageengines"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"}}} \ No newline at end of file diff --git a/docs/data/documentation/bodega/using-storageengines.json b/docs/data/documentation/bodega/using-storageengines.json index 9f50785..e17e041 100644 --- a/docs/data/documentation/bodega/using-storageengines.json +++ b/docs/data/documentation/bodega/using-storageengines.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data. A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is a construct you can build that plugs into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to use for persisting data, "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" providing a higher-level abstraction which allows you to interface with Swift types rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" so you don’t ever have to think about databases, persistence layers, or servers."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This library has two implementations of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" which we’ll discuss below. Both of these can serve as inspiration if you have your own persistence mechanism (such as Realm, CoreData, CloudKit, etc)."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to disk using file system operations. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to an SQLite database under the hood. This is fundamentally how a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" works, the protocol provides a blueprint for how to map Swift values and objects to "},{"type":"codeVoice","code":"Data"},{"type":"text","text":", and how to map "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" back to Swift types."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If your app already has a persistence layer then all you need to do is conform to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol. You can turn to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine"},{"type":"text","text":" tutorial to learn how to create your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", or you can use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" as references."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For now let’s discuss Bodega’s built-in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" options."}]},{"anchor":"Which-StorageEngine-Is-Right-For-You?","level":2,"type":"heading","text":"Which StorageEngine Is Right For You?"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The answer should almost always be "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":". The reason why is simple, it’s significantly faster. If your app is storing any meaningful amount of objects then a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":"-backed "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" will end up feeling a bit slow. But if you’re not worried about performance and would prefer the ability to inspect the output without an SQLite editor, then using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is a reasonable choice."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If your app already has a persistence layer it may make sense to build your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you’d like to explore that option you can read through the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine"},{"type":"text","text":" tutorial, or use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" as references."}]},{"anchor":"DiskStorageEngine","level":2,"type":"heading","text":"DiskStorageEngine"},{"type":"paragraph","inlineContent":[{"type":"text","text":"In Bodega v1 there was no concept of a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", everyone was implicitly using a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". In v2 we created the new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" abstraction, and rebuilt "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" by conforming to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" prioritizes simplicity over speed, it’s a very easy to use and understand concept. The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" will write a one file for every object you save, which makes it easy to inspect and debug any objects you’re saving. The downside of using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is performance."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Initialization times vary based on the total number of objects you have saved, but a rule of thumb is that loading 1,000 objects from disk takes about 0.25 seconds. This can start to feel a bit slow if you are saving more than 2,000-3,000, at which point"},{"type":"text","text":" "},{"type":"text","text":"it may be worth investigating an alternative "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". By comparison if you’re using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" it only takes about 0.1 seconds to load 1,000 objects, the difference only growing more the more objects you have. Since "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is backed by files, every operating system write or remove operation carries additional overhead, saving 10 files to disk requires 10 separate writes. This is different than an alternative like "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" where you only have one database that you write to and read from. This may not sound like a big difference but when you look at how it scales you can see that "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is a subpar choice for a larger app."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"StorageEngine-Read-Performance"},{"type":"text","text":" "},{"type":"image","identifier":"StorageEngine-Write-Performance"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If performance is important "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" ships "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", and that is the recommended"},{"type":"text","text":" "},{"type":"text","text":"default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you have your own persistence layer such as Core Data, Realm, etc,"},{"type":"text","text":" "},{"type":"text","text":"you can easily build your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to plug into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]},{"anchor":"SQLiteStorageEngine","level":2,"type":"heading","text":"SQLiteStorageEngine"},{"type":"paragraph","inlineContent":[{"type":"text","text":"As the name implies, "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is Bodega’s default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", If you’re not using your own persistence mechanism such as Core Data, Realm, etc, it is highly recommended you use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" to power your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" (or Store if you’re using "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique"},{"type":"text","text":")."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is the default because it is significantly faster than "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". As much as "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" was optimized, file system operations like writing and removing files have a relatively high cost per operation. SQLite on the other hand "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html"},{"type":"text","text":" to be significantly faster than files for storing data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The simplest way to get started with "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is to use one of the defaults, "},{"type":"codeVoice","code":"SQLiteStorageEngine.default"},{"type":"text","text":", or "},{"type":"codeVoice","code":"SQLiteStorageEngine.default(appendingPath:)"},{"type":"text","text":". This will create an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" in a platform-specific default storage directory, equivalent to "},{"type":"codeVoice","code":"SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Your Path\"))"},{"type":"text","text":"."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/using-storageengines"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"kind":"article","metadata":{"modules":[{"name":"Bodega"}],"role":"collectionGroup","title":"Using StorageEngines"},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"topicSections":[{"title":"Referenced","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine"]}],"references":{"https://www.sqlite.org/fasterthanfs.html":{"title":"has been shown","titleInlineContent":[{"type":"text","text":"has been shown"}],"type":"link","identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html","url":"https:\/\/www.sqlite.org\/fasterthanfs.html"},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, but surprisingly so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"https://github.com/mergesort/Boutique":{"title":"Boutique","titleInlineContent":[{"type":"text","text":"Boutique"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique","url":"https:\/\/github.com\/mergesort\/Boutique"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"An unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"StorageEngine-Write-Performance":{"alt":"StorageEngine Write Performance","type":"image","identifier":"StorageEngine-Write-Performance","variants":[{"url":"\/images\/StorageEngine-Write-Performance.png","traits":["1x","light"]}]},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"StorageEngine-Read-Performance":{"alt":"StorageEngine Read Performance","type":"image","identifier":"StorageEngine-Read-Performance","variants":[{"url":"\/images\/StorageEngine-Read-Performance.png","traits":["1x","light"]}]},"doc://Bodega/documentation/Bodega/Building-A-StorageEngine":{"role":"collectionGroup","title":"Building A StorageEngine","abstract":[{"type":"text","text":"Learn how to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for a persistence layer such as Core Data, Realm, or any way your app stores data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Building-A-StorageEngine","kind":"article","type":"topic","url":"\/documentation\/bodega\/building-a-storageengine"},"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for persisting data. A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is a construct you can build to store "},{"type":"codeVoice","code":"Data"},{"type":"text","text":", or you can plug it into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" to have a unified type-safe Swift API to use for persisting data. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" provides a higher-level abstraction so you don’t ever have to think about databases, persistence layers, or servers."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This library has two implementations of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", both of which we’ll discuss below. Each can serve as inspiration if you want to build a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" for your own persistence mechanism such as Realm, CoreData, CloudKit, etc."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and saves it to disk using file system operations. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" takes "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" and transparently saves it to an SQLite database. This is fundamentally how a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" works, the protocol provides a blueprint for how to map Swift values and objects to "},{"type":"codeVoice","code":"Data"},{"type":"text","text":", and how to map "},{"type":"codeVoice","code":"Data"},{"type":"text","text":" back to Swift types."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If your app already has a persistence layer then you can create a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" by conforming to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", such as creating a "},{"type":"codeVoice","code":"CoreDataStorageEngine"},{"type":"text","text":", "},{"type":"codeVoice","code":"RealmStorageEngine"},{"type":"text","text":", or even "},{"type":"codeVoice","code":"CloudKitStorageEngine"},{"type":"text","text":" to handle the needs of your app. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" and "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" both serve as good references for building your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For now let’s discuss Bodega’s built-in "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" options."}]},{"anchor":"Which-StorageEngine-Is-Right-For-You?","level":2,"type":"heading","text":"Which StorageEngine Is Right For You?"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The answer will almost always be "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":". The reason why is simple, it’s significantly faster than "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". If your app is storing more than a few thousand objects then a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":"-backed "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" will end up having long initialization times. But if you’re not worried about performance and would prefer the ability to inspect the underlying data without an SQLite editor, then using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is a reasonable choice."}]},{"anchor":"DiskStorageEngine","level":2,"type":"heading","text":"DiskStorageEngine"},{"type":"paragraph","inlineContent":[{"type":"text","text":"In Bodega v1 there was no concept of a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", everyone was implicitly using a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". In v2 we created the new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" abstraction, and rebuilt "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" by conforming to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" protocol."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"To initialize a "},{"type":"codeVoice","code":"DiskStorageEngine"},{"type":"text","text":" all you need to do is write one line of code."}]},{"type":"codeListing","syntax":"swift","code":["private let imagesStorage = DiskStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Images\"))"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"As with any other "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" you’ll then be able to read or write data to and from the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Write data to disk","try await self.imagesStorage.write(data, key: CacheKey(\"red-panda.jpg\"))","","\/\/ Read data from disk","await self.imagesStorage.read(key: CacheKey(\"red-panda.jpg\"))"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" prioritizes simplicity over speed, focusing on ease of use and debugging. The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" will write a one file for every object you save to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". That makes it easy to inspect and debug any objects you’re saving, with a downside of poor performance as your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" grows."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Initialization times vary based on the total number of objects you have saved, but a rule of thumb is that loading 1,000 objects from disk takes about 0.25 seconds. This can start to feel a bit slow if you are saving more than 2,000-3,000 objects, at which point"},{"type":"text","text":" "},{"type":"text","text":"it may be worth investigating an alternative "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". By comparison if you’re using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" it only takes about 0.1 seconds to load 1,000 objects, the difference only growing more the more objects you have. Since "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" is backed by files, every operating system write or remove operation carries additional overhead, saving 10 files to disk requires 10 separate writes."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This is different than an alternative like "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" where you only have one database that you write to and read from. This may not sound like a big difference but when you look at how it scales you can see that "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is a superior choice for larger apps."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"StorageEngine-Read-Performance"},{"type":"text","text":" "},{"type":"image","identifier":"StorageEngine-Write-Performance"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If performance is important "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega"},{"type":"text","text":" ships "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":", and that is the recommended"},{"type":"text","text":" "},{"type":"text","text":"default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":". If you have your own persistence layer such as Core Data, Realm, etc,"},{"type":"text","text":" "},{"type":"text","text":"you can choose to build your own "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" to plug into "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":"."}]},{"anchor":"SQLiteStorageEngine","level":2,"type":"heading","text":"SQLiteStorageEngine"},{"type":"paragraph","inlineContent":[{"type":"text","text":"As the name implies, "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database. "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is Bodega’s default "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", If you’re not using your own persistence mechanism such as Core Data, Realm, etc, it is highly recommended you use "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" to power your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" (or Store if you’re using "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/mergesort\/Boutique"},{"type":"text","text":")."}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is the default because it is significantly faster than "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":". As much as "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" was optimized, file system operations like writing and removing files have a relatively high cost per operation. SQLite on the other hand "},{"type":"reference","isActive":true,"identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html"},{"type":"text","text":" to be significantly faster than files for storing data."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The simplest way to get started with "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" is to use one of the defaults."}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Initializes an SQLiteStorageEngine in the platform-specific default storage directory","let storage = SQLiteStorageEngine.default","","\/\/ Initializes an SQLiteStorageEngine in the platform-specific default storage directory, appending the path \"Animals\"","let animalsStorage = SQLiteStorageEngine.default(appendingPath: \"Animals\")"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you require more flexibility in specifying where you’d like to save your data you can use the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" initializer with a "},{"type":"codeVoice","code":"directory"},{"type":"text","text":" parameter."}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Equivalent to SQLiteStorageEngine.default(appendingPath: \"Animals\")","let animalsStorage = SQLiteStorageEngine(directory: .defaultStorageDirectory(appendingPath: \"Animals\"))","","\/\/ Initializes an SQLiteStorageEngine in the caches directory, appending the path \"Animals\"","let animalsStorage = SQLiteStorageEngine(directory: .caches(appendingPath: \"Animals\"))"]},{"anchor":"FileManager.Directory","level":2,"type":"heading","text":"FileManager.Directory"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Above we setup an "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":" pointing to the "},{"type":"codeVoice","code":".caches"},{"type":"text","text":" directory. This is thanks to a few static functions on "},{"type":"codeVoice","code":"FileManager.Directory"},{"type":"text","text":" that handle the locations most iOS and macOS apps store data."}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Works only on macOS","static func applicationSupport(appendingPath pathComponent: String) -> FileManager.Directory","","static func caches(appendingPath pathComponent: String) -> FileManager.Directory","","static func documents(appendingPath pathComponent: String) -> FileManager.Directory","","\/\/ For apps that use Apple's App Groups feature to share data between multiple apps and extensions.","static func sharedContainer(forAppGroupIdentifier identifier: String, appendingPath pathComponent: String) -> FileManager.Directory","","static func temporary(appendingPath pathComponent: String) -> FileManager.Directory"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Depending on the needs of your app you can choose where to create the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine"},{"type":"text","text":" or "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine"},{"type":"text","text":". Otherwise the default location will choose the "},{"type":"codeVoice","code":"Documents"},{"type":"text","text":" folder on all platforms other than macOS, where the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" will default to "},{"type":"codeVoice","code":"Application Support"},{"type":"text","text":", matching platform conventions."}]},{"type":"codeListing","syntax":"swift","code":["static func defaultStorageDirectory(appendingPath pathComponent: String) -> FileManager.Directory"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/bodega\/using-storageengines"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Bodega\/documentation\/Bodega\/Using-StorageEngines","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" is at the heart of what makes Bodega, Bodega."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Using StorageEngines","role":"article","modules":[{"name":"Bodega"}]},"hierarchy":{"paths":[["doc:\/\/Bodega\/documentation\/Bodega"]]},"seeAlsoSections":[{"title":"Fundamentals","identifiers":["doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage"],"generated":true}],"references":{"doc://Bodega/documentation/Bodega/StorageEngine":{"role":"symbol","title":"StorageEngine","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"StorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" represents a data storage mechanism for saving and persisting data."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StorageEngine"}],"url":"\/documentation\/bodega\/storageengine"},"StorageEngine-Read-Performance":{"alt":"StorageEngine Read Performance","type":"image","identifier":"StorageEngine-Read-Performance","variants":[{"url":"\/images\/StorageEngine-Read-Performance.png","traits":["1x","light"]}]},"doc://Bodega/documentation/Bodega":{"role":"collection","title":"Bodega","abstract":[{"type":"text","text":"A simple store all your basic needs, and also so much more. 🐱"}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega","kind":"symbol","type":"topic","url":"\/documentation\/bodega"},"https://github.com/mergesort/Boutique":{"title":"Boutique","titleInlineContent":[{"type":"text","text":"Boutique"}],"type":"link","identifier":"https:\/\/github.com\/mergesort\/Boutique","url":"https:\/\/github.com\/mergesort\/Boutique"},"doc://Bodega/documentation/Bodega/Using-ObjectStorage":{"role":"article","title":"Using ObjectStorage","abstract":[{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage"},{"type":"text","text":" serves as unified layer over "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":", allowing you to work with type-safe Swift models rather than "},{"type":"codeVoice","code":"Data"},{"type":"text","text":"."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/Using-ObjectStorage","kind":"article","type":"topic","url":"\/documentation\/bodega\/using-objectstorage"},"doc://Bodega/documentation/Bodega/DiskStorageEngine":{"role":"symbol","title":"DiskStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DiskStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on saving items to the file system."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/DiskStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DiskStorageEngine"}],"url":"\/documentation\/bodega\/diskstorageengine"},"https://www.sqlite.org/fasterthanfs.html":{"title":"has been shown","titleInlineContent":[{"type":"text","text":"has been shown"}],"type":"link","identifier":"https:\/\/www.sqlite.org\/fasterthanfs.html","url":"https:\/\/www.sqlite.org\/fasterthanfs.html"},"doc://Bodega/documentation/Bodega/ObjectStorage":{"role":"symbol","title":"ObjectStorage","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"ObjectStorage"}],"abstract":[{"type":"text","text":"A unified layer over a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" primitives, allowing you to read, write, and save Swift objects."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/ObjectStorage","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"ObjectStorage"}],"url":"\/documentation\/bodega\/objectstorage"},"doc://Bodega/documentation/Bodega/SQLiteStorageEngine":{"role":"symbol","title":"SQLiteStorageEngine","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLiteStorageEngine"}],"abstract":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/StorageEngine"},{"type":"text","text":" based on an SQLite database."}],"identifier":"doc:\/\/Bodega\/documentation\/Bodega\/SQLiteStorageEngine","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLiteStorageEngine"}],"url":"\/documentation\/bodega\/sqlitestorageengine"},"StorageEngine-Write-Performance":{"alt":"StorageEngine Write Performance","type":"image","identifier":"StorageEngine-Write-Performance","variants":[{"url":"\/images\/StorageEngine-Write-Performance.png","traits":["1x","light"]}]}}} \ No newline at end of file diff --git a/docs/documentation/bodega/building-a-storageengine/index.html b/docs/documentation/bodega/building-an-image-cache/index.html similarity index 100% rename from docs/documentation/bodega/building-a-storageengine/index.html rename to docs/documentation/bodega/building-an-image-cache/index.html diff --git a/docs/documentation/bodega/getting-started-with-bodega/index.html b/docs/documentation/bodega/using-objectstorage/index.html similarity index 100% rename from docs/documentation/bodega/getting-started-with-bodega/index.html rename to docs/documentation/bodega/using-objectstorage/index.html diff --git a/docs/images/ProfileHeaderview.png b/docs/images/ProfileHeaderview.png new file mode 100644 index 0000000000000000000000000000000000000000..af6fedd72ad5038f4096e3ec397b0f8c94d9e0ff GIT binary patch literal 73352 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

~2UVA^IVc@pEWy^y)O?j^o26>1 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 literal 0 HcmV?d00001