Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Dir is where dfm will keep internal files and state. // TODO: Move the .dfm config json here Dir = GetDefaultConfigDir() // Backend is a string use for loading the appropriate backend. Backend = "git" // CurrentProfile is the currently loaded profile. CurrentProfile = "" // Etc contains additionall information that the various backends can // reference. Etc map[string]interface{} )
Functions ¶
func GetDefaultConfigDir ¶
func GetDefaultConfigDir() string
GetDefaultConfigDir will return the default location to store profiles which is $XDG_CONFIG_HOME/dfm or $HOME/.config/dfm
func ProfileDir ¶
func ProfileDir() string
ProfileDir will return the config.Dir joined with profiles.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.