github.com/swisscom/cloudfoundry-cli@v7.1.0+incompatible/cf/configuration/config_disk_persistor_unix.go (about)

     1  // +build !windows
     2  
     3  package configuration
     4  
     5  import (
     6  	"os"
     7  	"path/filepath"
     8  )
     9  
    10  func (dp DiskPersistor) makeDirectory() error {
    11  	return os.MkdirAll(filepath.Dir(dp.filePath), dirPermissions)
    12  }