You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be interesting to provide abstraction and create a generic file provider interface (with a default implementation per OS filesystem) so that we could later add support for other file systems (be it on the network, encrypted or really anything).
It would allow support for S3, FTP, SSHFS, GPG encrypted files etc ...
Solution
Define a generic interface to be implemented by all file providers that provides all required methods.
It could potentially aid with implementation of #295, a library could reference a list of file providers instead of directly referencing a folder.
Each provider should be able to return a list of files where each file has one or more identifiers (a path, some hashes, creation timestamp, or other custom IDs). These identifiers would link it to an entry.
Then providers should also implement reading (and potentially writing) methods that could be required to render a preview/thumbnail and to view/edit metadata.
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Checklist
Description
As described here : #197 (comment)
Solution
Define a generic interface to be implemented by all file providers that provides all required methods.
It could potentially aid with implementation of #295, a library could reference a list of file providers instead of directly referencing a folder.
Each provider should be able to return a list of files where each file has one or more identifiers (a path, some hashes, creation timestamp, or other custom IDs). These identifiers would link it to an entry.
Then providers should also implement reading (and potentially writing) methods that could be required to render a preview/thumbnail and to view/edit metadata.
Alternatives
No response
The text was updated successfully, but these errors were encountered: