]> git.ipfire.org Git - pakfire.git/commit
hashes: Replace the old digest mechanism
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 10:37:50 +0000 (10:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 11:13:09 +0000 (11:13 +0000)
commitfbcf5800064673206632041eddb497fe61c1cf49
treea62b5e2234faa9417f5afd6717b3a38ebd500914
parentaa4290a34f737be77facb5ffe41567dede9ededd
hashes: Replace the old digest mechanism

This is splitting the hasher into a separate object so that we have more
flexibility here. It also renames the digests struct into "hashes" which
is a little bit shorter and I thought that it makes more sense.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
26 files changed:
Makefile.am
src/pakfire/archive.c
src/pakfire/archive.h
src/pakfire/buildservice.c
src/pakfire/compress.c
src/pakfire/compress.h
src/pakfire/db.c
src/pakfire/digest.c [deleted file]
src/pakfire/digest.h [deleted file]
src/pakfire/file.c
src/pakfire/file.h
src/pakfire/hasher.c [new file with mode: 0644]
src/pakfire/hasher.h [new file with mode: 0644]
src/pakfire/hashes.c [new file with mode: 0644]
src/pakfire/hashes.h [new file with mode: 0644]
src/pakfire/package.c
src/pakfire/package.h
src/pakfire/packager.c
src/pakfire/packager.h
src/pakfire/repo.c
src/pakfire/transaction.c
src/pakfire/xfer.c
src/pakfire/xfer.h
src/python/file.c
src/python/package.c
tests/libpakfire/xfer.c