github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/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  }