Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
adf40521
提交
adf40521
authored
6月 02, 2016
作者:
Jakub Sztandera
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove existing synopsis
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
上级
6cafb465
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
5 行增加
和
17 行删除
+5
-17
mount_unix.go
core/commands/mount_unix.go
+0
-3
ping.go
core/commands/ping.go
+1
-2
root.go
core/commands/root.go
+2
-4
stat.go
core/commands/stat.go
+1
-5
ls.go
core/commands/unixfs/ls.go
+0
-1
unixfs.go
core/commands/unixfs/unixfs.go
+1
-2
没有找到文件。
core/commands/mount_unix.go
浏览文件 @
adf40521
...
@@ -16,9 +16,6 @@ import (
...
@@ -16,9 +16,6 @@ import (
var
MountCmd
=
&
cmds
.
Command
{
var
MountCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Mounts IPFS to the filesystem (read-only)."
,
Tagline
:
"Mounts IPFS to the filesystem (read-only)."
,
Synopsis
:
`
ipfs mount [-f <ipfs mount path>] [-n <ipns mount path>]
`
,
ShortDescription
:
`
ShortDescription
:
`
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
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
All ipfs objects will be accessible under that directory. Note that the
...
...
core/commands/ping.go
浏览文件 @
adf40521
...
@@ -28,8 +28,7 @@ type PingResult struct {
...
@@ -28,8 +28,7 @@ type PingResult struct {
var
PingCmd
=
&
cmds
.
Command
{
var
PingCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Send echo request packets to IPFS hosts."
,
Tagline
:
"Send echo request packets to IPFS hosts."
,
Synopsis
:
"ipfs ping <peerId> [--count <int>| -n]"
,
ShortDescription
:
`
ShortDescription
:
`
'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
via the routing system, sends pings, waits for pongs, and prints out round-
via the routing system, sends pings, waits for pongs, and prints out round-
...
...
core/commands/root.go
浏览文件 @
adf40521
...
@@ -19,10 +19,8 @@ const (
...
@@ -19,10 +19,8 @@ const (
var
Root
=
&
cmds
.
Command
{
var
Root
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Global p2p merkle-dag filesystem."
,
Tagline
:
"Global p2p merkle-dag filesystem."
,
Synopsis
:
`
Synopsis
:
"ipfs [--config=<config> | -c] [--debug=<debug> | -D] [--help=<help>] [-h=<h>] [--local=<local> | -L] [--api=<api>] <command> ..."
,
ipfs [<flags>] <command> [<arg>] ...
`
,
Subcommands
:
`
Subcommands
:
`
BASIC COMMANDS
BASIC COMMANDS
init Initialize ipfs local configuration
init Initialize ipfs local configuration
...
...
core/commands/stat.go
浏览文件 @
adf40521
...
@@ -18,8 +18,7 @@ import (
...
@@ -18,8 +18,7 @@ import (
var
StatsCmd
=
&
cmds
.
Command
{
var
StatsCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Query ipfs statistics."
,
Tagline
:
"Query ipfs statistics."
,
Synopsis
:
"ipfs stats <command>"
,
ShortDescription
:
`'ipfs stats' is a set of commands to help look at statistics
ShortDescription
:
`'ipfs stats' is a set of commands to help look at statistics
for your ipfs node.
for your ipfs node.
`
,
`
,
...
@@ -37,9 +36,6 @@ for your ipfs node.`,
...
@@ -37,9 +36,6 @@ for your ipfs node.`,
var
statBwCmd
=
&
cmds
.
Command
{
var
statBwCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Print ipfs bandwidth information."
,
Tagline
:
"Print ipfs bandwidth information."
,
Synopsis
:
`ipfs stats bw [--peer <peerId> | -p] [--proto <protocol> | -t] [--poll]
[--interval <timeInterval> | -i]
`
,
ShortDescription
:
`'ipfs stats bw' prints bandwidth information for the ipfs daemon.
ShortDescription
:
`'ipfs stats bw' prints bandwidth information for the ipfs daemon.
It displays: TotalIn, TotalOut, RateIn, RateOut.
It displays: TotalIn, TotalOut, RateIn, RateOut.
`
,
`
,
...
...
core/commands/unixfs/ls.go
浏览文件 @
adf40521
...
@@ -36,7 +36,6 @@ type LsOutput struct {
...
@@ -36,7 +36,6 @@ type LsOutput struct {
var
LsCmd
=
&
cmds
.
Command
{
var
LsCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"List directory contents for Unix filesystem objects."
,
Tagline
:
"List directory contents for Unix filesystem objects."
,
Synopsis
:
"ipfs file ls <path>"
,
ShortDescription
:
`
ShortDescription
:
`
Displays the contents of an IPFS or IPNS object(s) at the given path.
Displays the contents of an IPFS or IPNS object(s) at the given path.
...
...
core/commands/unixfs/unixfs.go
浏览文件 @
adf40521
...
@@ -5,13 +5,12 @@ import cmds "github.com/ipfs/go-ipfs/commands"
...
@@ -5,13 +5,12 @@ import cmds "github.com/ipfs/go-ipfs/commands"
var
UnixFSCmd
=
&
cmds
.
Command
{
var
UnixFSCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Interact with ipfs objects representing Unix filesystems."
,
Tagline
:
"Interact with ipfs objects representing Unix filesystems."
,
Synopsis
:
"ipfs file <command>"
,
ShortDescription
:
`
ShortDescription
:
`
'ipfs file' provides a familiar interface to file systems represented
'ipfs file' provides a familiar interface to file systems represented
by IPFS objects, which hides IPFS implementation details like layout
by IPFS objects, which hides IPFS implementation details like layout
objects (e.g. fanout and chunking).
objects (e.g. fanout and chunking).
`
,
`
,
LongDescription
:
`
LongDescription
:
`
'ipfs file' provides a familiar interface to file systems represented
'ipfs file' provides a familiar interface to file systems represented
by IPFS objects, which hides IPFS implementation details like layout
by IPFS objects, which hides IPFS implementation details like layout
objects (e.g. fanout and chunking).
objects (e.g. fanout and chunking).
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论