packer-cn/packer-plugin-sdk/filelock/filelock.go

12 lines
154 B
Go

// +build !solaris
package filelock
import "github.com/gofrs/flock"
type Flock = flock.Flock
func New(path string) *Flock {
return flock.New(path)
}