THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
482B

  1. /*
  2. * Copyright (c) 2011, Google Inc.
  3. */
  4. #ifndef STREAMING_H
  5. #define STREAMING_H 1
  6. #include "cache.h"
  7. /* opaque */
  8. struct git_istream;
  9. struct git_istream *open_istream(const struct object_id *, enum object_type *, unsigned long *, struct stream_filter *);
  10. int close_istream(struct git_istream *);
  11. ssize_t read_istream(struct git_istream *, void *, size_t);
  12. int stream_blob_to_fd(int fd, const struct object_id *, struct stream_filter *, int can_seek);
  13. #endif /* STREAMING_H */