From e92c218adfbcaa35591a0dd7bdc634a3187967f0 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 12 Feb 2024 23:43:35 -0500 Subject: Add path_store function --- include/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/utils.h') diff --git a/include/utils.h b/include/utils.h index 4816a31..f0400fb 100644 --- a/include/utils.h +++ b/include/utils.h @@ -33,6 +33,7 @@ char *find_program(const char *name); int touch(const char *filename); int git_clone(struct Process *proc, char *url, char *destdir, char *gitref); char *git_describe(const char *path); +int path_store(char **destptr, size_t maxlen, const char *base, const char *path); #define OMC_MSG_SUCCESS 0 #define OMC_MSG_NOP 1 << 0 -- cgit