mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-24 10:21:20 -05:00
17 lines
195 B
Go
17 lines
195 B
Go
|
|
// +build windows
|
||
|
|
|
||
|
|
package chroot
|
||
|
|
|
||
|
|
import (
|
||
|
|
"errors"
|
||
|
|
"os"
|
||
|
|
)
|
||
|
|
|
||
|
|
func lockFile(*os.File) error {
|
||
|
|
return errors.New("not supported on Windows")
|
||
|
|
}
|
||
|
|
|
||
|
|
func unlockFile(f *os.File) error {
|
||
|
|
return nil
|
||
|
|
}
|