git/loose.c

#define USE_THE_REPOSITORY_VARIABLE

#include "git-compat-util.h"
#include "hash.h"
#include "path.h"
#include "object-store.h"
#include "hex.h"
#include "wrapper.h"
#include "gettext.h"
#include "loose.h"
#include "lockfile.h"
#include "oidtree.h"

static const char *loose_object_header =;

static inline int should_use_loose_object_map(struct repository *repo)
{}

void loose_object_map_init(struct loose_object_map **map)
{}

static int insert_oid_pair(kh_oid_map_t *map, const struct object_id *key, const struct object_id *value)
{}

static int insert_loose_map(struct object_directory *odb,
			    const struct object_id *oid,
			    const struct object_id *compat_oid)
{}

static int load_one_loose_object_map(struct repository *repo, struct object_directory *dir)
{}

int repo_read_loose_object_map(struct repository *repo)
{}

int repo_write_loose_object_map(struct repository *repo)
{}

static int write_one_object(struct repository *repo, const struct object_id *oid,
			    const struct object_id *compat_oid)
{}

int repo_add_loose_object_map(struct repository *repo, const struct object_id *oid,
			      const struct object_id *compat_oid)
{}

int repo_loose_object_map_oid(struct repository *repo,
			      const struct object_id *src,
			      const struct git_hash_algo *to,
			      struct object_id *dest)
{}

void loose_object_map_clear(struct loose_object_map **map)
{}