* Merge addToStore and addToStoreFixed.
* addToStore now adds unconditionally, it doesn't use readOnlyMode. Read-only operation is up to the caller (who can call computeStorePathForPath).
This commit is contained in:
		
							parent
							
								
									ceb982a1be
								
							
						
					
					
						commit
						a824d58b56
					
				
					 11 changed files with 40 additions and 96 deletions
				
			
		|  | @ -93,8 +93,8 @@ Path makeFixedOutputPath(bool recursive, | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| std::pair<Path, Hash> computeStorePathForPath(bool fixed, bool recursive, | ||||
|     string hashAlgo, const Path & srcPath) | ||||
| std::pair<Path, Hash> computeStorePathForPath(const Path & srcPath, | ||||
|     bool fixed, bool recursive, string hashAlgo) | ||||
| { | ||||
|     Hash h(htSHA256); | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue