]> git.ipfire.org Git - thirdparty/systemd.git/commit
path-util: Add path_simplify_full()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Aug 2023 11:09:19 +0000 (13:09 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Aug 2023 11:23:36 +0000 (13:23 +0200)
commit4541d045b2cc2834add853f06293d4474ac403e4
tree87a1379654250fce79472e0e6293f2c8c446d7e0
parentc0083c9ce04c5e37270eb042fd43dae269e7d50e
path-util: Add path_simplify_full()

Sometimes its useful to keep a trailing slash in the path so let's
add path_simplify_full() and a flag to do just that.
src/basic/path-util.c
src/basic/path-util.h
src/test/test-path-util.c