repo.or.cz
/
git
/
repo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed a leak in read-tree
[git/repo.git]
/
blob.h
blob
8004c835e73d44f3d9f0adf533cbf2475c288b42
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
12
struct
blob
*
lookup_blob
(
unsigned char
*
sha1
);
13
14
int
parse_blob_buffer
(
struct
blob
*
item
,
void
*
buffer
,
unsigned long
size
);
15
16
int
parse_blob
(
struct
blob
*
item
);
17
18
#endif
/* BLOB_H */