examples of protocol being file, http[s], s3, ftp, but also things like reference (for https://fsspec.github.io/kerchunk/) or even more exotic protocols.
Should there be some form of protocol registry, and maybe an edit to the @p_str macro, which will return the correct path type if that package is loaded, and an informative error ("please load AWSS3.jl for S3 paths") if not?
For reference, https://github.com/JuliaIO/Zarr.jl already does this kind of thing, and I'd like to port quite a few of their Store objects over to a FilePathsBase like interface, since the hard work has already been mostly done.
It's pretty common to address files as:
examples of
protocol
beingfile
,http[s]
,s3
,ftp
, but also things likereference
(for https://fsspec.github.io/kerchunk/) or even more exotic protocols.Should there be some form of protocol registry, and maybe an edit to the
@p_str
macro, which will return the correct path type if that package is loaded, and an informative error ("please load AWSS3.jl for S3 paths") if not?For reference, https://github.com/JuliaIO/Zarr.jl already does this kind of thing, and I'd like to port quite a few of their
Store
objects over to a FilePathsBase like interface, since the hard work has already been mostly done.