Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0.1
-
None
-
None
Description
Making the transform FS -> URI bijective would greatly simplify unambiguous location of files and serialization of filesystems. Something like:
Result<std::string> FileSystem::MakeUri(std::string path = "/");
Difficulties:
- SubTreeFileSystem::MakeUri("/") would probably return a URI referring to its base directory in the wrapped filesystem, which wouldn't roundtrip to a SubTreeFileSystem with FileSystemFromUri
- Not all of s3's parameters are supported in a URI