Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudfoundry/bosh-agent
/ ensureContainingDir
Method
ensureContainingDir
agent/script/generic_script.go:98–101 ·
view source on GitHub ↗
(fullLogFilename string)
Source
from the content-addressed store, hash-verified
96
}
97
98
func
(s GenericScript) ensureContainingDir(fullLogFilename string) error {
99
dir, _ := filepath.Split(fullLogFilename)
100
return
s.fs.MkdirAll(dir, os.FileMode(0750))
101
}
Callers
1
Run
Method · 0.95
Calls
1
MkdirAll
Method · 0.80
Tested by
no test coverage detected