github.phpd.cn/hashicorp/packer@v1.3.2/builder/amazon/chroot/lockfile.go (about) 1 // +build windows 2 3 package chroot 4 5 import ( 6 "errors" 7 "os" 8 ) 9 10 func lockFile(*os.File) error { 11 return errors.New("not supported on Windows") 12 } 13 14 func unlockFile(f *os.File) error { 15 return nil 16 }