mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
![Daniel Barkalow](/assets/img/avatar_default.png)
This eliminates the special case for blobs versus other types of objects. Now the scheme is entirely regular and I won't introduce stupid bugs. (And fsck-cache doesn't have to do the do-nothing parse) Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 lines
228 B
C
17 lines
228 B
C
#ifndef BLOB_H
|
|
#define BLOB_H
|
|
|
|
#include "object.h"
|
|
|
|
extern const char *blob_type;
|
|
|
|
struct blob {
|
|
struct object object;
|
|
};
|
|
|
|
struct blob *lookup_blob(unsigned char *sha1);
|
|
|
|
int parse_blob(struct blob *item);
|
|
|
|
#endif /* BLOB_H */
|