Browse Source

Documented the menaing of returned bool

pull/413/head
Martin Habovstiak 2 months ago
parent
commit
158e22f2a7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      loopd/run.go

+ 2
- 1
loopd/run.go View File

@ -250,7 +250,8 @@ func Run(rpcCfg RPCConfig) error {
}
// getConfigPath gets our config path based on the values that are set in our
// config.
// config. The returned bool is set to true if the config file path was set
// explicitly by the user and thus should not be ignored if it doesn't exist.
func getConfigPath(cfg Config, loopDir string) (string, bool) {
// If the config file path provided by the user is set, then we just
// use this value.

Loading…
Cancel
Save