author | Lars Hjemli <hjemli@gmail.com> | 2008-08-06 08:53:50 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-08-06 09:21:30 (UTC) |
commit | e5da4bca54574522b28f88cab0dc8ebad9e35a73 (patch) (unidiff) | |
tree | 08e02b9e0962a12040faab27e7841a74a800ddf2 /cgit.h | |
parent | 02a545e63454530c1639014d3239c14ced2022c6 (diff) | |
download | cgit-e5da4bca54574522b28f88cab0dc8ebad9e35a73.zip cgit-e5da4bca54574522b28f88cab0dc8ebad9e35a73.tar.gz cgit-e5da4bca54574522b28f88cab0dc8ebad9e35a73.tar.bz2 |
Implement plain view
This implements a way to access plain blobs by path (similar to the
tree view) instead of by sha1.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -162,12 +162,13 @@ struct cgit_config { | |||
162 | int summary_tags; | 162 | int summary_tags; |
163 | }; | 163 | }; |
164 | 164 | ||
165 | struct cgit_page { | 165 | struct cgit_page { |
166 | time_t modified; | 166 | time_t modified; |
167 | time_t expires; | 167 | time_t expires; |
168 | size_t size; | ||
168 | char *mimetype; | 169 | char *mimetype; |
169 | char *charset; | 170 | char *charset; |
170 | char *filename; | 171 | char *filename; |
171 | char *title; | 172 | char *title; |
172 | }; | 173 | }; |
173 | 174 | ||