提交 8be75631 作者: Juan Batiz-Benet

Merge pull request #770 from jbenet/pkg-docs

document some packages
// cmd/ipfs implements the primary CLI binary for ipfs
package main
import (
......
......@@ -57,6 +57,7 @@ remains to be implemented.
cmds.BoolOption("quiet", "q", "Write minimal output"),
cmds.BoolOption(progressOptionName, "p", "Stream progress data"),
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 {
if quiet, _, _ := req.Option("quiet").Bool(); quiet {
......
// package core implements the IpfsNode object and methods for constructing
// and properly setting it up.
package core
import (
......
// package decision implements the decision engine for the bitswap service.
package decision
import (
......
// package wantlist implements an object for bitswap that contains the keys
// that a given peer wants.
package wantlist
import (
......
// package namesys implements various functionality for the ipns naming system.
package namesys
import (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论