FilePathsBase.jl icon indicating copy to clipboard operation
FilePathsBase.jl copied to clipboard

Filesystem path types in julia

Results 34 FilePathsBase.jl issues
Sort by recently updated
recently updated
newest added

Hello all. I have, over the past couple of months, been extremely determined to completely solve what I consider to be an unfortunate state of affairs with `S3Path` from AWSS3.jl....

I started #159 a while ago and since could mostly not decide what it should look like. I've recently had some much better thoughts about all this stuff, and here's...

This pull request changes the compat entry for the `Compat` package from `3.33` to `3.33, 4`. This keeps the compat entries for earlier versions. Note: I have not tested your...

Current this just calls `last(parents(p))` and is very inefficient due to excessive allocations. Should be easy to fix, but I didn't do it because I'm having big problems with this...

This is a (very small) first step of an experimental implementation of traits to attempt to address some of the problems with [this issue](https://github.com/JuliaCloud/AWSS3.jl/issues/226). Currently, FilePathsBase makes quite a lot...

```julia julia> using FilePathsBase julia> replace(PosixPath("/a/b/c"), "b" => "c") ERROR: MethodError: no method matching similar(::PosixPath, ::Type{String}) Closest candidates are: similar(::Union{LinearAlgebra.Adjoint{T, var"#s814"}, LinearAlgebra.Transpose{T, var"#s814"}} where {T, var"#s814"

I'm not sure how this would work, but it'd be nice if there was some way we could ensure that the FilePathsBase API is remaining in sync with Base.Filesystem. Currently,...

help wanted
RFC

MWE: ```julia julia> using AWSS3, FilePathsBase julia> dir = p"s3://some/dir/"; julia> relpath(dir, dir) ERROR: ArgumentError: . cannot be parsed as S3Path{Nothing} Stacktrace: [1] #parse#6 @ ~/.julia/packages/FilePathsBase/qgXdE/src/path.jl:79 [inlined] [2] parse @...

I encountered some severe type instabilities in code using this package. When attempting to fix the type instability, I discovered that it runs deep in this package. For example: *...

help wanted
question
RFC

No reason that it returns a `String`, right?

question
RFC