Accessing allObjects from DiskStorage
Aperta
- Lingua principale
- Swift
- Stelle
- 3.1k
- Fork
- 355
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I've noticed an issue with the allObjects property in the DiskStorage implementation. The current default implementation returns an empty array, making it impossible to access any stored objects. Also, as of now there is no way to get allObjects from disk when they are not in memory?
The relevant code snippet from DiskStorage is as follows:
```
extension DiskStorage: StorageAware {
public var allKeys: [Key] { [] }
public var allObjects: [Value] { [] }
}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.