/*
* Declarations for reading a blob out of the object database and writing it to
* the client. A caller either hands the whole response over to the blob's own
* bytes and headers, or drops a file's contents into a page cgit is already
* building, as the summary page does for a readme.
*/#ifndef CGIT_UI_BLOB_H
#define CGIT_UI_BLOB_H
externintcgit_ref_path_exists(constchar *path, constchar *ref, int file_only);
externintcgit_print_file(char *path, constchar *head, int file_only, int html_escape);
externvoidcgit_print_blob(constchar *hex, char *path, constchar *head, int file_only);
#endif// CGIT_UI_BLOB_H