github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+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  }