github.com/homburg/packer@v0.6.1-0.20140528012651-1dcaf1716848/configfile.go (about)

     1  package main
     2  
     3  // ConfigFile returns the default path to the configuration file. On
     4  // Unix-like systems this is the ".packerconfig" file in the home directory.
     5  // On Windows, this is the "packer.config" file in the application data
     6  // directory.
     7  func ConfigFile() (string, error) {
     8  	return configFile()
     9  }