提交 140c70d7 作者: Jeromy

document some packages

上级 931cff2c
// cmd/ipfs implements the primary CLI binary for ipfs
package main package main
import ( import (
......
...@@ -57,6 +57,7 @@ remains to be implemented. ...@@ -57,6 +57,7 @@ remains to be implemented.
cmds.BoolOption("quiet", "q", "Write minimal output"), cmds.BoolOption("quiet", "q", "Write minimal output"),
cmds.BoolOption(progressOptionName, "p", "Stream progress data"), cmds.BoolOption(progressOptionName, "p", "Stream progress data"),
cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object"), cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object"),
cmds.BoolOption("t", "trickle", "Use trickle-dag format for dag generation"),
}, },
PreRun: func(req cmds.Request) error { PreRun: func(req cmds.Request) error {
if quiet, _, _ := req.Option("quiet").Bool(); quiet { if quiet, _, _ := req.Option("quiet").Bool(); quiet {
......
// package core implements the IpfsNode object and methods for constructing
// and properly setting it up.
package core package core
import ( import (
......
// package decision implements the decision engine for the bitswap service.
package decision package decision
import ( import (
......
// package wantlist implements an object for bitswap that contains the keys
// that a given peer wants.
package wantlist package wantlist
import ( import (
......
// package namesys implements various functionality for the ipns naming system.
package namesys package namesys
import ( import (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论