nix copy: Revive progress bar
This commit is contained in:
		
							parent
							
								
									dffc3fe43b
								
							
						
					
					
						commit
						c5e4404580
					
				
					 6 changed files with 99 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -56,6 +56,8 @@ static void dumpContents(const Path & path, size_t size,
 | 
			
		|||
 | 
			
		||||
static void dump(const Path & path, Sink & sink, PathFilter & filter)
 | 
			
		||||
{
 | 
			
		||||
    checkInterrupt();
 | 
			
		||||
 | 
			
		||||
    struct stat st;
 | 
			
		||||
    if (lstat(path.c_str(), &st))
 | 
			
		||||
        throw SysError(format("getting attributes of path '%1%'") % path);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue