MCPcopy Create free account
hub / github.com/factorapp/factor / makeDirectories

Function makeDirectories

cmd/init.go:175–183  ·  view source on GitHub ↗
(cwd string)

Source from the content-addressed store, hash-verified

173 return nil
174}
175func makeDirectories(cwd string) error {
176 for _, dir := range directories {
177 err := os.MkdirAll(filepath.Join(cwd, appName, dir), 0755)
178 if err != nil {
179 return err
180 }
181 }
182 return nil
183}
184func init() {
185 rootCmd.AddCommand(initCmd)
186

Callers 1

init.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected