From 9a054c5800d6e799bbd7cc2f9d76055aab9c57b6 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Wed, 14 Jan 2015 04:26:19 -0800 Subject: [PATCH] doc(fsrepo) --- repo/fsrepo/fsrepo.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go index fa70acd86..007deeb7b 100644 --- a/repo/fsrepo/fsrepo.go +++ b/repo/fsrepo/fsrepo.go @@ -44,8 +44,13 @@ func init() { // FSRepo represents an IPFS FileSystem Repo. It is safe for use by multiple // callers. type FSRepo struct { - state state - path string + // state is the FSRepo's state (unopened, opened, closed) + state state + // path is the file-system path + path string + // config is loaded when FSRepo is opened and kept up to date when the + // FSRepo is modified. + // TODO test config *config.Config }