git branch: avoid unnecessary object lookups
[tgit.git] / blob.h
blobea5d9e9f8b63be2c7048d19ee53feb06b0795c80
1 #ifndef BLOB_H
2 #define BLOB_H
4 #include "object.h"
6 extern const char *blob_type;
8 struct blob {
9 struct object object;
12 struct blob *lookup_blob(const unsigned char *sha1);
14 int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);
16 int parse_blob(struct blob *item);
18 #endif /* BLOB_H */