Commit Graph

4 Commits

Author SHA1 Message Date
Łukasz Magiera
e4282bdb7a go-ipfs-config: Add one more test for config.Clone 2018-12-13 16:03:29 -08:00
Steven Allen
b627585f28 go-ipfs-config: add a Clone function
The user must call this before modifying the config. Given that the config
contains slices/maps modifications can modified *shared* state, even after
dereferencing.
2018-12-13 16:03:26 -08:00
Brian Tiger Chow
20cc7a451b go-ipfs-config: refactor(config, repo): all writes go through FSRepo. next: privatize these 2015-01-13 03:09:31 -08:00
Brian Tiger Chow
99929de050 go-ipfs-config: refactor(repo/config) move config under repo 2015-01-13 03:09:30 -08:00