BinaryCacheStore: Support "none" compression method
This commit is contained in:
		
							parent
							
								
									8e065c6b3e
								
							
						
					
					
						commit
						5acb691402
					
				
					 5 changed files with 51 additions and 31 deletions
				
			
		|  | @ -1,13 +1,16 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include "ref.hh" | ||||
| #include "types.hh" | ||||
| 
 | ||||
| #include <string> | ||||
| 
 | ||||
| namespace nix { | ||||
| 
 | ||||
| std::string compressXZ(const std::string & in); | ||||
| ref<std::string> compress(const std::string & method, ref<std::string> in); | ||||
| 
 | ||||
| ref<std::string> decompressXZ(const std::string & in); | ||||
| ref<std::string> decompress(const std::string & method, ref<std::string> in); | ||||
| 
 | ||||
| MakeError(UnknownCompressionMethod, Error); | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue