tustvold commented on issue #545:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/545#issuecomment-3552050548

   I don't think we can replace the path abstraction with String or 
`std::path::Path` as the Path abstraction handles a number of things that are 
important for the crate to work correctly. In no particular order:
   
   * It prevents paths with leading or trailing /
   * It prevents empty or relative (..) path segments
   * It disallows control characters
   
   These are all fundamental to how the API operates, and allows it to map to 
stores with varying characteristics, especially w.r.t directories.
   
   For more information see 
https://docs.rs/object_store/latest/object_store/path/struct.Path.html
   
   That being said ergonomic improvements to Path are welcome


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to