15 lines
426 B
Go
15 lines
426 B
Go
|
package packer
|
||
|
|
||
|
// ConfigFile returns the default path to the configuration file. On
|
||
|
// Unix-like systems this is the ".packerconfig" file in the home directory.
|
||
|
// On Windows, this is the "packer.config" file in the application data
|
||
|
// directory.
|
||
|
func ConfigFile() (string, error) {
|
||
|
return configFile()
|
||
|
}
|
||
|
|
||
|
// ConfigDir returns the configuration directory for Packer.
|
||
|
func ConfigDir() (string, error) {
|
||
|
return configDir()
|
||
|
}
|