This also bumps the stable nixpkgs to 20.09 as of 2020-11-21, because there is some breakage in the git build related to the netrc credentials helper which someone has taken care of in nixpkgs. The stable channel is not used for anything other than git, so this should be fine. Change-Id: I3575a19dab09e1e9556cf8231d717de9890484fb
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			513 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			513 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2011, Google Inc.
 | |
|  */
 | |
| #ifndef STREAMING_H
 | |
| #define STREAMING_H 1
 | |
| #include "cache.h"
 | |
| 
 | |
| /* opaque */
 | |
| struct git_istream;
 | |
| 
 | |
| 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);
 | |
| 
 | |
| int stream_blob_to_fd(int fd, const struct object_id *, struct stream_filter *, int can_seek);
 | |
| 
 | |
| #endif /* STREAMING_H */
 |