diff options
| author | Taylor Blau <me@ttaylorr.com> | 2025-10-15 18:28:29 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-16 10:08:55 -0700 |
| commit | f053ab6c2be6a9869cbdfaabe5bd844a2471f8b7 (patch) | |
| tree | a56ea634a44983d69a4f3752c7b2f4072b94e81e /repack.h | |
| parent | builtin/repack.c: provide pack locations to `generated_pack_install()` (diff) | |
| download | git-f053ab6c2be6a9869cbdfaabe5bd844a2471f8b7.tar.gz git-f053ab6c2be6a9869cbdfaabe5bd844a2471f8b7.zip | |
repack: remove 'generated_pack' API from the builtin
Now that we have factored the "generated_pack" API, we can move it to
repack.ch, further slimming down builtin/repack.c.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
| -rw-r--r-- | repack.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -66,4 +66,12 @@ void existing_packs_remove_redundant(struct existing_packs *existing, const char *packdir); void existing_packs_release(struct existing_packs *existing); +struct generated_pack; + +struct generated_pack *generated_pack_populate(const char *name, + const char *packtmp); +int generated_pack_has_ext(const struct generated_pack *pack, const char *ext); +void generated_pack_install(struct generated_pack *pack, const char *name, + const char *packdir, const char *packtmp); + #endif /* REPACK_H */ |
