Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No method matching isvalid(::PosixPath, ::Int64) #13

Closed
nicoleepp opened this issue Aug 28, 2018 · 1 comment
Closed

No method matching isvalid(::PosixPath, ::Int64) #13

nicoleepp opened this issue Aug 28, 2018 · 1 comment

Comments

@nicoleepp
Copy link

nicoleepp commented Aug 28, 2018

On 0.7

julia> using FilePathsBase
julia> path = Path(pwd())
julia> endswith(path, "/")
ERROR: MethodError: no method matching isvalid(::PosixPath, ::Int64)
Closest candidates are:
  isvalid(::AbstractString, ::Integer) at strings/basic.jl:121
  isvalid(::String, ::Int64) at strings/string.jl:301
  isvalid(::SubString, ::Integer) at strings/substring.jl:80
  ...
Stacktrace:
 [1] isvalid at ./strings/basic.jl:121 [inlined]
 [2] getindex(::PosixPath, ::Int64) at ./strings/basic.jl:163
 [3] iterate at ./strings/basic.jl:677 [inlined] (repeats 2 times)
 [4] Type at ./iterators.jl:1038 [inlined]
 [5] endswith(::PosixPath, ::String) at ./strings/util.jl:42
 [6] top-level scope at none:0
@nicoleepp
Copy link
Author

See #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant