mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	pkg/containerfs: normalize comment formatting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							parent
							
								
									9de5d3da89
								
							
						
					
					
						commit
						14cad10cea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -194,7 +194,7 @@ func remapIDs(idMapping *idtools.IdentityMapping, hdr *tar.Header) error {
 | 
			
		|||
// chmodTarEntry is used to adjust the file permissions used in tar header based
 | 
			
		||||
// on the platform the archival is done.
 | 
			
		||||
func chmodTarEntry(perm os.FileMode) os.FileMode {
 | 
			
		||||
	//perm &= 0755 // this 0-ed out tar flags (like link, regular file, directory marker etc.)
 | 
			
		||||
	// perm &= 0755 // this 0-ed out tar flags (like link, regular file, directory marker etc.)
 | 
			
		||||
	permPart := perm & os.ModePerm
 | 
			
		||||
	noPermPart := perm &^ os.ModePerm
 | 
			
		||||
	// Add the x bit: make everything +x from windows
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue