[PATCH] don't load and decompress objects twice with parse_object()
[git/git.git] / blob.h
CommitLineData
6eb8ae00
DB
1#ifndef BLOB_H
2#define BLOB_H
3
4#include "object.h"
5
6extern const char *blob_type;
7
8struct blob {
9 struct object object;
10};
11
12struct blob *lookup_blob(unsigned char *sha1);
13
bd2c39f5
NP
14int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);
15
a510bfaa
DB
16int parse_blob(struct blob *item);
17
6eb8ae00 18#endif /* BLOB_H */