]> git.ipfire.org Git - thirdparty/ccache.git/commit
Implement Util::normalize_absolute_path
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 19 Feb 2020 10:00:24 +0000 (11:00 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 23 Feb 2020 20:03:34 +0000 (21:03 +0100)
commitfcb7bee84f7ac945d592f56252748aed146880c0
treea5261d5c4d3fa68e8b2a286188302141268c0265
parentfa8d9fb681a488a9c2242caa2ecc6b7fd11f56a7
Implement Util::normalize_absolute_path

Normalization here means syntactically removing redundant slashes and
resolving "." and ".." parts. The algorithm does however *not* follow
symlinks, so the result may not actually resolve to `path`.
src/Util.cpp
src/Util.hpp
unittest/test_Util.cpp