deleteEntry(referencedBy:)
Deletes a cache entry referenced by bookmark data.
Declaration
static func deleteEntry(referencedBy bookmark: Data) throwsParameters
- bookmark:
Data previously obtained from
AIModel.bookmarkData.
Discussion
Use this method to delete a cache entry referenced by bookmark data previously obtained from AIModel.bookmarkData. Because bookmark data encodes both the specific cache instance and the entry within it, this method is static and requires no cache instance to call. The method acquires a file lock and deletes the entry synchronously.