document some packages
Jeromy committed
Feb 10, 2015 at 22:59 UTC
140c70d772b5b9a3ca73b2343b94a48454993fc0
6 files changed
+8
cmd/ipfs/main.go
+1
@@ -1,3 +1,4 @@
1
+// cmd/ipfs implements the primary CLI binary for ipfs
2
package main
3
4
import (
core/commands/add.go
+1
@@ -57,6 +57,7 @@ remains to be implemented.
57
cmds.BoolOption("quiet", "q", "Write minimal output"),
58
cmds.BoolOption(progressOptionName, "p", "Stream progress data"),
59
cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object"),
60
+ cmds.BoolOption("t", "trickle", "Use trickle-dag format for dag generation"),
61
},
62
PreRun: func(req cmds.Request) error {
63
if quiet, _, _ := req.Option("quiet").Bool(); quiet {
core/core.go
+2
@@ -1,3 +1,5 @@
1
+// package core implements the IpfsNode object and methods for constructing
2
+// and properly setting it up.
3
package core
4
5
import (
exchange/bitswap/decision/engine.go
+1
@@ -1,3 +1,4 @@
1
+// package decision implements the decision engine for the bitswap service.
2
package decision
3
4
import (
exchange/bitswap/wantlist/wantlist.go
+2
@@ -1,3 +1,5 @@
1
+// package wantlist implements an object for bitswap that contains the keys
2
+// that a given peer wants.
3
package wantlist
4
5
import (
namesys/interface.go
+1
@@ -1,3 +1,4 @@
1
+// package namesys implements various functionality for the ipns naming system.
2
package namesys
3
4
import (