mirror of
https://github.com/git/git.git
synced 2024-12-21 15:53:32 +08: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>
19 lines
311 B
C
19 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 */
|