chiark / gitweb /
os-util: add helpers for finding /etc/os-release
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2018 14:32:40 +0000 (16:32 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit2cefb09ff69c3595e98c55f0da1bd137c612276c
tree413850b2eb4d2cd031c2d31ef66b657baf5d66d4
parent1049fbda947f856942a693f011fe013a2ee798f0
os-util: add helpers for finding /etc/os-release

Place this new helpers in a new source file os-util.[ch], and move the
existing and related call path_is_os_tree() to it as well.
src/basic/meson.build
src/basic/os-util.c [new file with mode: 0644]
src/basic/os-util.h [new file with mode: 0644]
src/basic/stat-util.c
src/basic/stat-util.h
src/test/meson.build
src/test/test-os-util.c [new file with mode: 0644]
src/test/test-stat-util.c