diff options
Diffstat (limited to 'streaming.h')
-rw-r--r-- | streaming.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/streaming.h b/streaming.h index f465a3c..bd27f59 100644 --- a/streaming.h +++ b/streaming.h @@ -3,12 +3,16 @@ */ #ifndef STREAMING_H #define STREAMING_H 1 -#include "cache.h" + +#include "object.h" /* opaque */ struct git_istream; +struct stream_filter; -struct git_istream *open_istream(const struct object_id *, enum object_type *, unsigned long *, struct stream_filter *); +struct git_istream *open_istream(struct repository *, const struct object_id *, + enum object_type *, unsigned long *, + struct stream_filter *); int close_istream(struct git_istream *); ssize_t read_istream(struct git_istream *, void *, size_t); |