copyPaths(): Use queryValidPaths() to reduce SSH latency
This commit is contained in:
		
							parent
							
								
									91d67692cf
								
							
						
					
					
						commit
						c5b83d8913
					
				
					 10 changed files with 45 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -669,7 +669,7 @@ bool LocalStore::isValidPathUncached(const Path & path)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
PathSet LocalStore::queryValidPaths(const PathSet & paths)
 | 
			
		||||
PathSet LocalStore::queryValidPaths(const PathSet & paths, bool maybeSubstitute)
 | 
			
		||||
{
 | 
			
		||||
    PathSet res;
 | 
			
		||||
    for (auto & i : paths)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue