-
Notifications
You must be signed in to change notification settings - Fork 621
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
path: make some @std/path
functions work with file URL object
#5537
Comments
Just |
I think this also makes sense for other functions such as |
dirname
work with file URL object@std/path/posix
functions work with file URL object
@std/path/posix
functions work with file URL object@std/path
functions work with file URL object
I don't think we need to limit this to |
I'd suggest we would target We can revisit |
SGTM |
done |
As FS APIs in Deno works with file URL object, it would make sense to support file URL input with
path.dirname
.This probably would throw with non-file URLs.
I think this mostly addresses the motivation we added
std/url
.dirname()
extname()
join()
basename
normalize
The text was updated successfully, but these errors were encountered: