gitlab.com/evatix-go/core@v1.3.55/chmodhelper/RecursivePathsApply.go (about) 1 package chmodhelper 2 3 import ( 4 "io/fs" 5 "path/filepath" 6 ) 7 8 func RecursivePathsApply( 9 rootPath string, 10 actionFunc func(currentPath string, info fs.FileInfo, err error) error, 11 ) error { 12 return filepath.Walk(rootPath, actionFunc) 13 }