aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core.h1
-rw-r--r--include/delivery.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h
index 1ea9650..cea7a16 100644
--- a/include/core.h
+++ b/include/core.h
@@ -67,6 +67,7 @@ struct STASIS_GLOBAL {
bool enable_docker; //!< Enable docker image builds
bool enable_artifactory; //!< Enable artifactory uploads
bool enable_testing; //!< Enable package testing
+ bool enable_overwrite; //!< Enable release file clobbering
struct StrList *conda_packages; //!< Conda packages to install after initial activation
struct StrList *pip_packages; //!< Pip packages to install after initial activation
char *tmpdir; //!< Path to temporary storage directory
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