X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/71d14d9c98c39a6683780060f84429a3a7e5b348..c712d5ac434b9ee8cb4e63a173a2538e1878637f:/cgit.h diff --git a/cgit.h b/cgit.h index 847cd2e..a686390 100644 --- a/cgit.h +++ b/cgit.h @@ -374,6 +374,8 @@ extern void cgit_parse_url(const char *url); extern const char *cgit_repobasename(const char *reponame); extern int cgit_parse_snapshots_mask(const char *str); +extern const struct object_id *cgit_snapshot_get_sig(const char *ref, + const struct cgit_snapshot_format *f); extern int cgit_open_filter(struct cgit_filter *filter, ...); extern int cgit_close_filter(struct cgit_filter *filter);