mirror of https://github.com/docker/docs.git
				
				
				
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			337 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			337 B
		
	
	
	
		
			Go
		
	
	
	
| // +build windows
 | |
| 
 | |
| package system
 | |
| 
 | |
| import (
 | |
| 	"errors"
 | |
| 	"syscall"
 | |
| )
 | |
| 
 | |
| func fromStatT(s *syscall.Win32FileAttributeData) (*Stat_t, error) {
 | |
| 	return nil, errors.New("fromStatT should not be called on windows path")
 | |
| }
 | |
| 
 | |
| func Stat(path string) (*Stat_t, error) {
 | |
| 	// should not be called on cli code path
 | |
| 	return nil, ErrNotSupportedPlatform
 | |
| }
 |