mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
		
							parent
							
								
									6f9872180c
								
							
						
					
					
						commit
						6983f05b42
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@ import (
 | 
			
		|||
// ResolvePath resolves the given path in the container to a resource on the
 | 
			
		||||
// host. Returns a resolved path (absolute path to the resource on the host),
 | 
			
		||||
// the absolute path to the resource relative to the container's rootfs, and
 | 
			
		||||
// a error if the path points to outside the container's rootfs.
 | 
			
		||||
// an error if the path points to outside the container's rootfs.
 | 
			
		||||
func (container *Container) ResolvePath(path string) (resolvedPath, absPath string, err error) {
 | 
			
		||||
	// Consider the given path as an absolute path in the container.
 | 
			
		||||
	absPath = archive.PreserveTrailingDotOrSeparator(filepath.Join(string(filepath.Separator), path), path)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue