]> git.ipfire.org Git - pakfire.git/commit
file: Simplify creating new file objects
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2024 11:35:41 +0000 (11:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2024 11:35:41 +0000 (11:35 +0000)
commit9f1acdd6f6073203d38c15dabe98143decf3e3ce
tree1c39890e8c7e3cbb25a2cf2ef51965cdfeb85699
parent98c7b03d739d2771cf67e73030968034a8c6ddac
file: Simplify creating new file objects

The create function will now take the path relative to the Pakfire
instance. It will also automatically compute the absolute path.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/db.c
src/libpakfire/file.c
src/libpakfire/filelist.c
src/libpakfire/include/pakfire/file.h
src/libpakfire/package.c
src/libpakfire/packager.c
src/python/package.c
tests/libpakfire/file.c
tests/libpakfire/package.c