BinaryCacheStore::readFile(): Return a shared_ptr to a string
This allows readFile() to indicate that a file doesn't exist, and might eliminate some large string copying.
This commit is contained in:
		
							parent
							
								
									99851c6f06
								
							
						
					
					
						commit
						d1b0909894
					
				
					 11 changed files with 52 additions and 28 deletions
				
			
		|  | @ -511,6 +511,7 @@ ValidPathInfo decodeValidPathInfo(std::istream & str, | |||
| 
 | ||||
| MakeError(SubstError, Error) | ||||
| MakeError(BuildError, Error) /* denotes a permanent build failure */ | ||||
| MakeError(InvalidPath, Error) | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue