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
We need a ResourceStore that makes use of the file system backend, similarly to how the current Solid server operates. There currently already is a basic in-memory store, but note that several shortcuts are taken there that should not be copied.
Some of the required features:
Read the developer notes. Specifically the architecture document describes how ResourceStores should function.
The interface lists each of the required functions.
Containers should be represented by folders, while resources as the files in those folders.
Metadata about a container can be stored in a .metadata file in that folder. Similarly, metadata about a (binary) file can be stored in ${filename}.metadata.
The CRUD operations on the resources should mostly correspond to those on files. E.g., getting a resource should return a file stream, deleting a resource should delete the file, etc.
Things to take into account:
Make sure the correct libraries are used for handling file paths and URLs, since the first are handled differently by Windows and Unix systems, while the second are handled the same.
The SimpleResourceStore does some data conversions between Quads and text/turtle. In general ResourceStores should not do this since the plan is to have specific stores to handle the data conversion (to prevent repetition), so simply supporting BinaryRepresentation for in- and output is sufficient.
Conditions don't have to be supported in the first implementation, but take into account that this will need to be added at some point later.
The modifyResource function should simply throw an error so it can be handled by an external PatchingStore.
Make sure there are no unexpected errors being thrown due to e.g. files not existing.
The text was updated successfully, but these errors were encountered:
We need a ResourceStore that makes use of the file system backend, similarly to how the current Solid server operates. There currently already is a basic in-memory store, but note that several shortcuts are taken there that should not be copied.
Some of the required features:
.metadata
file in that folder. Similarly, metadata about a (binary) file can be stored in${filename}.metadata
.Things to take into account:
The text was updated successfully, but these errors were encountered: