object-file: split out functions relating to object store subsystem

While we have the "object-store.h" header, most of the functionality for
object stores is actually hosted in "object-file.c". This makes it hard
to find relevant functions and causes us to mix up concerns.

Split out functions relating to the object store subsystem into a new
"object-store.c" file.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2025-04-15 11:38:18 +02:00
committed by Junio C Hamano
parent 632b5e3ee2
commit d9f517d051
20 changed files with 1074 additions and 1040 deletions

View File

@@ -36,8 +36,9 @@
#include "merge-ll.h"
#include "match-trees.h"
#include "mem-pool.h"
#include "object-file.h"
#include "object-name.h"
#include "object-store-ll.h"
#include "object-store.h"
#include "oid-array.h"
#include "path.h"
#include "promisor-remote.h"