mirror of
https://github.com/git/git
synced 2024-08-27 03:29:21 +00:00
![Jason McMullan](/assets/img/avatar_default.png)
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 */
|