MCPcopy 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
98func (s GenericScript) ensureContainingDir(fullLogFilename string) error {
99 dir, _ := filepath.Split(fullLogFilename)
100 return s.fs.MkdirAll(dir, os.FileMode(0750))
101}

Callers 1

RunMethod · 0.95

Calls 1

MkdirAllMethod · 0.80

Tested by

no test coverage detected