]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.h
Add "snapshot-prefix" repo configuration
[cgit.git] / ui-shared.h
index b3eb8c5be63f763bb6c3f24d132c2b50b5803d5c..92a1755012f163370bd4782f9a2bbcf30c8983ae 100644 (file)
@@ -78,6 +78,7 @@ extern void cgit_compose_snapshot_prefix(struct strbuf *filename,
                                         const char *base, const char *ref);
 extern void cgit_print_snapshot_links(const struct cgit_repo *repo,
                                      const char *head, const char *hex);
+extern const char *cgit_snapshot_prefix(const struct cgit_repo *repo);
 extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
                                       const char *page);