aboutsummaryrefslogtreecommitdiff
path: root/blob.h
blob: ea5d9e9f8b63be2c7048d19ee53feb06b0795c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef BLOB_H
#define BLOB_H

#include "object.h"

extern const char *blob_type;

struct blob {
	struct object object;
};

struct blob *lookup_blob(const unsigned char *sha1);

int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);

int parse_blob(struct blob *item);

#endif /* BLOB_H */