Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing allObjects from DiskStorage #334

Open
LogicalAlchemist opened this issue Oct 27, 2024 · 0 comments
Open

Accessing allObjects from DiskStorage #334

LogicalAlchemist opened this issue Oct 27, 2024 · 0 comments

Comments

@LogicalAlchemist
Copy link

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] { [] }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant