gitlab.com/evatix-go/core@v1.3.55/chmodhelper/DirWithFiles.go (about) 1 package chmodhelper 2 3 import "os" 4 5 type DirWithFiles struct { 6 Dir string 7 Files []string 8 } 9 10 func (it *DirWithFiles) CreatePaths( 11 isRemoveBeforeCreate bool, 12 fileMode os.FileMode, 13 ) error { 14 return CreateDirWithFiles( 15 isRemoveBeforeCreate, 16 fileMode, 17 it, 18 ) 19 }