mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-15 05:37:21 +00:00
copy config.yaml to docker image enable external usage of dashboard package gofmt fix comment use packr for assets add gobuffalo/packr dependency add dependencies fix pointer issues add output-file option
19 lines
213 B
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,
|
|
}
|
|
}
|