• Shanti Bouchez-Mongardé's avatar
    Refactor config file location, add IPFS_CONFIG_DIR · 7705dfb9
    Shanti Bouchez-Mongardé authored
    Removed config.Filename and replace it with config.GetConfigFilePath that
    takes a configuration directory as argument instead. Makes code simpler.
    ipfs.getConfigDir now also return the default configuration dir instead of
    an empty string in some cases.
    7705dfb9
init.go 3.1 KB