-
Notifications
You must be signed in to change notification settings - Fork 30
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
Should cap-std
have its own Path
type?
#88
Comments
I brought up the idea of deprecating the functions in question here, and have now posted a PR to deprecate them. |
Sounds like deprecating them is not the way to go here, so I'm now thinking about a custom |
camino is a neat crate providing a Approaching this with linting is sounding increasingly sensible. |
With the ambient authority linter available now, I think the answer here is that cap-std does not need its own |
Is it worth defining
Path
,PathBuf
and associated types incap-std
? They could mostly be thin wrappers around theirstd::path
counterparts, but they'd omit several ambient-authority methods:metadata
,read_link
,read_dir
,symlink_metadata
, andcanonicalize
.The text was updated successfully, but these errors were encountered: