Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
1d6a47bf
提交
1d6a47bf
authored
8月 04, 2016
作者:
Jesse Weinstein
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make all Taglines use imperative mood
License: MIT Signed-off-by:
Jesse Weinstein
<
jesse@wefu.org
>
上级
1eb94e64
隐藏空白字符变更
内嵌
并排
正在显示
21 个修改的文件
包含
32 行增加
和
32 行删除
+32
-32
bitswap.go
core/commands/bitswap.go
+1
-1
block.go
core/commands/block.go
+2
-2
bootstrap.go
core/commands/bootstrap.go
+2
-2
config.go
core/commands/config.go
+3
-3
diag.go
core/commands/diag.go
+2
-2
dns.go
core/commands/dns.go
+1
-1
files.go
core/commands/files/files.go
+1
-1
ipns.go
core/commands/ipns.go
+1
-1
mount_nofuse.go
core/commands/mount_nofuse.go
+1
-1
mount_unix.go
core/commands/mount_unix.go
+1
-1
name.go
core/commands/name.go
+1
-1
diff.go
core/commands/object/diff.go
+1
-1
object.go
core/commands/object/object.go
+4
-4
pin.go
core/commands/pin.go
+2
-2
refs.go
core/commands/refs.go
+2
-2
repo.go
core/commands/repo.go
+2
-2
swarm.go
core/commands/swarm.go
+1
-1
sysdiag.go
core/commands/sysdiag.go
+1
-1
tar.go
core/commands/tar.go
+1
-1
tour.go
core/commands/tour.go
+1
-1
version.go
core/commands/version.go
+1
-1
没有找到文件。
core/commands/bitswap.go
浏览文件 @
1d6a47bf
...
...
@@ -16,7 +16,7 @@ import (
var
BitswapCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
A set of commands to manipulate
the bitswap agent."
,
Tagline
:
"
Interact with
the bitswap agent."
,
ShortDescription
:
``
,
},
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
...
...
core/commands/block.go
浏览文件 @
1d6a47bf
...
...
@@ -26,7 +26,7 @@ func (bs BlockStat) String() string {
var
BlockCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Manipulate
raw IPFS blocks."
,
Tagline
:
"
Interact with
raw IPFS blocks."
,
ShortDescription
:
`
'ipfs block' is a plumbing command used to manipulate raw ipfs blocks.
Reads from stdin or writes to stdout, and <key> is a base58 encoded
...
...
@@ -103,7 +103,7 @@ It outputs to stdout, and <key> is a base58 encoded multihash.
var
blockPutCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Store
s
input as an IPFS block."
,
Tagline
:
"Store input as an IPFS block."
,
ShortDescription
:
`
'ipfs block put' is a plumbing command for storing raw ipfs blocks.
It reads from stdin, and <key> is a base58 encoded multihash.
...
...
core/commands/bootstrap.go
浏览文件 @
1d6a47bf
...
...
@@ -181,7 +181,7 @@ in the bootstrap list).`,
var
bootstrapRemoveCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Remove
s
peers from the bootstrap list."
,
Tagline
:
"Remove peers from the bootstrap list."
,
ShortDescription
:
`Outputs the list of peers that were removed.
`
+
bootstrapSecurityWarning
,
},
...
...
@@ -250,7 +250,7 @@ var bootstrapRemoveCmd = &cmds.Command{
var
bootstrapRemoveAllCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Remove
s
all peers from the bootstrap list."
,
Tagline
:
"Remove all peers from the bootstrap list."
,
ShortDescription
:
`Outputs the list of peers that were removed.`
,
},
...
...
core/commands/config.go
浏览文件 @
1d6a47bf
...
...
@@ -135,7 +135,7 @@ Set the value of the 'datastore.path' key:
var
configShowCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Output
s the content of the config file
."
,
Tagline
:
"Output
config file contents
."
,
ShortDescription
:
`
WARNING: Your private key is stored in the config file, and it will be
included in the output of this command.
...
...
@@ -182,7 +182,7 @@ included in the output of this command.
var
configEditCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Open
s
the config file for editing in $EDITOR."
,
Tagline
:
"Open the config file for editing in $EDITOR."
,
ShortDescription
:
`
To use 'ipfs config edit', you must have the $EDITOR environment
variable set to your preferred text editor.
...
...
@@ -205,7 +205,7 @@ variable set to your preferred text editor.
var
configReplaceCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Replace
s
the config with <file>."
,
Tagline
:
"Replace the config with <file>."
,
ShortDescription
:
`
Make sure to back up the config file first if neccessary, as this operation
can't be undone.
...
...
core/commands/diag.go
浏览文件 @
1d6a47bf
...
...
@@ -42,7 +42,7 @@ var DefaultDiagnosticTimeout = time.Second * 20
var
DiagCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Generate
s
diagnostic reports."
,
Tagline
:
"Generate diagnostic reports."
,
},
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
...
...
@@ -54,7 +54,7 @@ var DiagCmd = &cmds.Command{
var
diagNetCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Generate
s
a network diagnostics report."
,
Tagline
:
"Generate a network diagnostics report."
,
ShortDescription
:
`
Sends out a message to each node in the network recursively
requesting a listing of data about them including number of
...
...
core/commands/dns.go
浏览文件 @
1d6a47bf
...
...
@@ -11,7 +11,7 @@ import (
var
DNSCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
DNS link resolver
."
,
Tagline
:
"
Resolve DNS links
."
,
ShortDescription
:
`
Multihashes are hard to remember, but domain names are usually easy to
remember. To create memorable aliases for multihashes, DNS TXT
...
...
core/commands/files/files.go
浏览文件 @
1d6a47bf
...
...
@@ -24,7 +24,7 @@ var log = logging.Logger("cmds/files")
var
FilesCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Manipulate
unixfs files."
,
Tagline
:
"
Interact with
unixfs files."
,
ShortDescription
:
`
Files is an API for manipulating IPFS objects as if they were a unix
filesystem.
...
...
core/commands/ipns.go
浏览文件 @
1d6a47bf
...
...
@@ -13,7 +13,7 @@ import (
var
IpnsCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Get
s
the value currently published at an IPNS name."
,
Tagline
:
"Get the value currently published at an IPNS name."
,
ShortDescription
:
`
IPNS is a PKI namespace, where names are the hashes of public keys, and
the private key enables publishing new (signed) values. In resolve, the
...
...
core/commands/mount_nofuse.go
浏览文件 @
1d6a47bf
...
...
@@ -9,7 +9,7 @@ import (
var
MountCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Mount
s
IPFS to the filesystem (disabled)."
,
Tagline
:
"Mount IPFS to the filesystem (disabled)."
,
ShortDescription
:
`
This version of ipfs is compiled without fuse support, which is required
for mounting. If you'd like to be able to mount, please use a version of
...
...
core/commands/mount_unix.go
浏览文件 @
1d6a47bf
...
...
@@ -15,7 +15,7 @@ import (
var
MountCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Mount
s
IPFS to the filesystem (read-only)."
,
Tagline
:
"Mount IPFS to the filesystem (read-only)."
,
ShortDescription
:
`
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
All ipfs objects will be accessible under that directory. Note that the
...
...
core/commands/name.go
浏览文件 @
1d6a47bf
...
...
@@ -9,7 +9,7 @@ type IpnsEntry struct {
var
NameCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"I
PFS namespace (IPNS) tool
."
,
Tagline
:
"I
nteract with the IPFS namespace (IPNS)
."
,
ShortDescription
:
`
IPNS is a PKI namespace, where names are the hashes of public keys, and
the private key enables publishing new (signed) values. In both publish
...
...
core/commands/object/diff.go
浏览文件 @
1d6a47bf
...
...
@@ -17,7 +17,7 @@ type Changes struct {
var
ObjectDiffCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Takes a diff of the two given
objects."
,
Tagline
:
"
Display the diff between two ipfs
objects."
,
ShortDescription
:
`
'ipfs object diff' is a command used to show the differences between
two ipfs objects.`
,
...
...
core/commands/object/object.go
浏览文件 @
1d6a47bf
...
...
@@ -63,7 +63,7 @@ directly.`,
var
ObjectDataCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Output
s the raw bytes in
an IPFS object."
,
Tagline
:
"Output
the raw bytes of
an IPFS object."
,
ShortDescription
:
`
'ipfs object data' is a plumbing command for retrieving the raw bytes stored
in a DAG node. It outputs to stdout, and <key> is a base58 encoded multihash.
...
...
@@ -99,7 +99,7 @@ is the raw data of the object.
var
ObjectLinksCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Output
s
the links pointed to by the specified object."
,
Tagline
:
"Output the links pointed to by the specified object."
,
ShortDescription
:
`
'ipfs object links' is a plumbing command for retrieving the links from
a DAG node. It outputs to stdout, and <key> is a base58 encoded
...
...
@@ -293,7 +293,7 @@ var ObjectStatCmd = &cmds.Command{
var
ObjectPutCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Store
s input as a DAG object, outputs
its key."
,
Tagline
:
"Store
input as a DAG object, print
its key."
,
ShortDescription
:
`
'ipfs object put' is a plumbing command for storing DAG nodes.
It reads from stdin, and the output is a base58 encoded multihash.
...
...
@@ -384,7 +384,7 @@ And then run:
var
ObjectNewCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Create
s
a new object from an ipfs template."
,
Tagline
:
"Create a new object from an ipfs template."
,
ShortDescription
:
`
'ipfs object new' is a plumbing command for creating new DAG nodes.
`
,
...
...
core/commands/pin.go
浏览文件 @
1d6a47bf
...
...
@@ -34,7 +34,7 @@ type PinOutput struct {
var
addPinCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Pin
s
objects to local storage."
,
Tagline
:
"Pin objects to local storage."
,
ShortDescription
:
"Stores an IPFS object(s) from a given path locally to disk."
,
},
...
...
@@ -95,7 +95,7 @@ var addPinCmd = &cmds.Command{
var
rmPinCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Remove
s the pinned object
from local storage."
,
Tagline
:
"Remove
pinned objects
from local storage."
,
ShortDescription
:
`
Removes the pin from the given object allowing it to be garbage
collected if needed. (By default, recursively. Use -r=false for direct pins)
...
...
core/commands/refs.go
浏览文件 @
1d6a47bf
...
...
@@ -32,7 +32,7 @@ func KeyListTextMarshaler(res cmds.Response) (io.Reader, error) {
var
RefsCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"List
s
links (references) from an object."
,
Tagline
:
"List links (references) from an object."
,
ShortDescription
:
`
Lists the hashes of all the links an IPFS or IPNS object(s) contains,
with the following format:
...
...
@@ -130,7 +130,7 @@ NOTE: List all references recursively by using the flag '-r'.
var
RefsLocalCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"List
s
all local references."
,
Tagline
:
"List all local references."
,
ShortDescription
:
`
Displays the hashes of all local objects.
`
,
...
...
core/commands/repo.go
浏览文件 @
1d6a47bf
...
...
@@ -24,7 +24,7 @@ type RepoVersion struct {
var
RepoCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Manipulate
the IPFS repo."
,
Tagline
:
"
Interact with
the IPFS repo."
,
ShortDescription
:
`
'ipfs repo' is a plumbing command used to manipulate the repo.
`
,
...
...
@@ -172,7 +172,7 @@ Version string The repo version.
var
RepoFsckCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Remove
s
repo lockfiles."
,
Tagline
:
"Remove repo lockfiles."
,
ShortDescription
:
`
'ipfs repo fsck' is a plumbing command that will remove repo and level db
lockfiles, as well as the api file. This command can only run when no ipfs
...
...
core/commands/swarm.go
浏览文件 @
1d6a47bf
...
...
@@ -30,7 +30,7 @@ type addrMap struct {
var
SwarmCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Swarm inspection tool
."
,
Tagline
:
"
Interact with the swarm
."
,
ShortDescription
:
`
'ipfs swarm' is a tool to manipulate the network swarm. The swarm is the
component that opens, listens for, and maintains connections to other
...
...
core/commands/sysdiag.go
浏览文件 @
1d6a47bf
...
...
@@ -14,7 +14,7 @@ import (
var
sysDiagCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Print
s out
system diagnostic information."
,
Tagline
:
"Print system diagnostic information."
,
ShortDescription
:
`
Prints out information about your computer to aid in easier debugging.
`
,
...
...
core/commands/tar.go
浏览文件 @
1d6a47bf
...
...
@@ -13,7 +13,7 @@ import (
var
TarCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
Utility functions for
tar files in IPFS."
,
Tagline
:
"
Interact with
tar files in IPFS."
,
},
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
...
...
core/commands/tour.go
浏览文件 @
1d6a47bf
...
...
@@ -14,7 +14,7 @@ import (
var
tourCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"
A
n introduction to IPFS."
,
Tagline
:
"
Provide a
n introduction to IPFS."
,
ShortDescription
:
`
This is a tour that takes you through various IPFS concepts,
features, and tools to make sure you get up to speed with
...
...
core/commands/version.go
浏览文件 @
1d6a47bf
...
...
@@ -21,7 +21,7 @@ type VersionOutput struct {
var
VersionCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Show
s
ipfs version information."
,
Tagline
:
"Show ipfs version information."
,
ShortDescription
:
"Returns the current version of ipfs and exits."
,
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论