doc(fsrepo)
Brian Tiger Chow committed
Jan 14, 2015 at 04:26 UTC
9a054c5800d6e799bbd7cc2f9d76055aab9c57b6
1 file changed
+7
-2
repo/fsrepo/fsrepo.go
+7
-2
@@ -44,8 +44,13 @@ func init() {
44
// FSRepo represents an IPFS FileSystem Repo. It is safe for use by multiple
45
// callers.
46
type FSRepo struct {
47
- state state
48
- path string
47
+ // state is the FSRepo's state (unopened, opened, closed)
48
+ state state
49
+ // path is the file-system path
50
+ path string
51
+ // config is loaded when FSRepo is opened and kept up to date when the
52
+ // FSRepo is modified.
53
+ // TODO test
54
config *config.Config
55
}
56