github.com/jbronn/packer@v0.1.6-0.20140120165540-8a1364dbd817/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  }