Use std::filesystem in create_temp_directory and temp_directory_path#197
Use std::filesystem in create_temp_directory and temp_directory_path#197
Conversation
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
clalancette
left a comment
There was a problem hiding this comment.
This implementation generally looks good to me. I'm going to hold off on approving it until we figure out what is going on with ros2/rosbag2#1740
MichaelOrlov
left a comment
There was a problem hiding this comment.
The implementation has API-breaking changes and still uses platform-dependent code, which is not good.
Creating a new function with a different name and deprecating the old one would be better.
I don't believe there is a way around this. Using posix Should we perhaps throw or return error code on non-implemented platforms? |
Yes and no. I took a look at the implementation of |
|
As discussed in the waffle meeting, we will close this issue and @MichaelOrlov will create a new PR. |
Related to this comment #196 (comment)
update
create_temp_directoryandtemp_directory_pathto usestd::filesystem::pathRelated PRs