Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (18 sloc) 0.664 kb
6eb8ae0 [PATCH] Header files for object parsing
Daniel Barkalow authored
1 #ifndef BLOB_H
2 #define BLOB_H
3
4 #include "object.h"
5
6 extern const char *blob_type;
7
8 struct blob {
9 struct object object;
10 };
11
5d6ccf5 [PATCH] Anal retentive 'const unsigned char *sha1'
Jason McMullan authored
12 struct blob *lookup_blob(const unsigned char *sha1);
6eb8ae0 [PATCH] Header files for object parsing
Daniel Barkalow authored
13
bd2c39f [PATCH] don't load and decompress objects twice with parse_object()
Nicolas Pitre authored
14 int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);
15
837d395 Replace parse_blob() with an explanatory comment
Daniel Barkalow authored
16 /**
17 * Blobs do not contain references to other objects and do not have
18 * structured data that needs parsing. However, code may use the
19 * "parsed" bit in the struct object for a blob to determine whether
20 * its content has been found to actually be available, so
21 * parse_blob_buffer() is used (by object.c) to flag that the object
22 * has been read successfully from the database.
23 **/
a510bfa [PATCH] Mark blobs as parsed when they're actually parsed
Daniel Barkalow authored
24
6eb8ae0 [PATCH] Header files for object parsing
Daniel Barkalow authored
25 #endif /* BLOB_H */
Something went wrong with that request. Please try again.