From ed1d3a099549ec4e82e506a172ee7e49977ac070 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 28 Jun 2024 10:10:29 -0400 Subject: Disable overwriting releases by default --- include/delivery.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/delivery.h') diff --git a/include/delivery.h b/include/delivery.h index 971705f..969c803 100644 --- a/include/delivery.h +++ b/include/delivery.h @@ -391,4 +391,11 @@ int *bootstrap_build_info(struct Delivery *ctx); int delivery_dump_metadata(struct Delivery *ctx); +/** + * Determine whether a release on-disk matches the release name in use + * @param ctx Delivery context + * @return 0=no, 1=yes + */ +int delivery_exists(struct Delivery *ctx); + #endif //STASIS_DELIVERY_H -- cgit