mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 05:47:51 +08:00
doc(fsrepo)
This commit is contained in:
parent
ac530d0ab6
commit
9a054c5800
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user