mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-25 10:27:01 +08:00
config: change default config dir name to .ipfs
This changes .go-ipfs to .ipfs everywhere. And by the way this defines a DefaultPathName const for this name. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
committed by
Juan Batiz-Benet
parent
f3fbedf312
commit
96a22c5bb1
@ -29,8 +29,10 @@ type Config struct {
|
||||
}
|
||||
|
||||
const (
|
||||
// DefaultPathName is the default config dir name
|
||||
DefaultPathName = ".ipfs"
|
||||
// DefaultPathRoot is the path to the default config dir location.
|
||||
DefaultPathRoot = "~/.go-ipfs"
|
||||
DefaultPathRoot = "~/" + DefaultPathName
|
||||
// DefaultConfigFile is the filename of the configuration file
|
||||
DefaultConfigFile = "config"
|
||||
// EnvDir is the environment variable used to change the path root.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
//
|
||||
// TODO explain the package roadmap...
|
||||
//
|
||||
// .go-ipfs/
|
||||
// .ipfs/
|
||||
// ├── client/
|
||||
// | ├── client.lock <------ protects client/ + signals its own pid
|
||||
// │ ├── ipfs-client.cpuprof
|
||||
|
||||
Reference in New Issue
Block a user