mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
5d6ccf5ce7
Make 'sha1' parameters const where possible Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 lines
311 B
C
18 lines
311 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(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 */
|