Support cp(::AbstractPath, ::AbstractString)
and vice-versa?
#122
Labels
enhancement
New feature or request
cp(::AbstractPath, ::AbstractString)
and vice-versa?
#122
This comes up when users try things like
cp("~/my_file", S3Path("..."))
. Since often users first encouter the filepaths system via special paths likeS3Path
s, they don't realize they need to fully "opt-in" to the ecosystem by wrapping the first argument inPath
. (In other words: folks probably have not even doneusing FilePathsBase
and might not realize there is a parallel path system). I think adding methods that wrapAbstractString
arguments inPath
would help ease interoperability.The text was updated successfully, but these errors were encountered: