stash/vendor/github.com/gobuffalo/genny/dir.go

19 lines
213 B
Go

package genny
import "os"
var _ File = Dir{}
type Dir struct {
File
Perm os.FileMode
}
func NewDir(path string, perm os.FileMode) File {
f := NewFileS(path, path)
return Dir{
File: f,
Perm: perm,
}
}