MCPcopy
hub / github.com/cloudfoundry/cli / NewDiskPersistor

Function NewDiskPersistor

cf/configuration/config_disk_persistor.go:33–37  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

31}
32
33func NewDiskPersistor(path string) DiskPersistor {
34 return DiskPersistor{
35 filePath: path,
36 }
37}
38
39func (dp DiskPersistor) Exists() bool {
40 _, err := os.Stat(dp.filePath)

Callers 7

MainFunction · 0.92
NewDependencyFunction · 0.92
newAppPresenterFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected