Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Have been running into a problem with the local-data filesystem being inside the the data filesystem. Specifically, $dataAdapter->listContents() (which lists all the files in the data directory) is now including files that are in the local-data:// filesystem. Because, well... it is.Is it really the best idea to put a unique filesystem as a subdirectory of another filesystem like that (especially one where it's intended purpose is to never be part of it's parent filesystem)? Now we have a problem migrating files between different filesystems. Say for example you want to migrate data:// to R2 (or anything)... you move the files and delete them from the local filesystem... oh but wait, we just moved and deleted the local directory too since it's also part of the data:// filesystem.Yes, of course you can code for exceptions, but filtering files that are part of the data:// filesystem (but really they aren't) is starting to feel hacky to me.
Have been running into a problem with the local-data filesystem being inside the the data filesystem. Specifically, $dataAdapter->listContents() (which lists all the files in the data directory) is now including files that are in the local-data:// filesystem. Because, well... it is.
$dataAdapter->listContents()
local-data://
Is it really the best idea to put a unique filesystem as a subdirectory of another filesystem like that (especially one where it's intended purpose is to never be part of it's parent filesystem)? Now we have a problem migrating files between different filesystems. Say for example you want to migrate data:// to R2 (or anything)... you move the files and delete them from the local filesystem... oh but wait, we just moved and deleted the local directory too since it's also part of the data:// filesystem.
data://
Yes, of course you can code for exceptions, but filtering files that are part of the data:// filesystem (but really they aren't) is starting to feel hacky to me.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences