Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
affb06d5
提交
affb06d5
authored
10月 12, 2016
作者:
Jeromy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
run gofmt
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
上级
7e4b74bf
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
8 行增加
和
8 行删除
+8
-8
blockservice.go
blockservice/blockservice.go
+1
-1
init.go
cmd/ipfs/init.go
+1
-1
core_test.go
core/core_test.go
+1
-1
stat.go
core/corerepo/stat.go
+1
-1
cat.go
core/coreunix/cat.go
+1
-1
link_unix.go
fuse/ipns/link_unix.go
+1
-1
mount_test.go
fuse/node/mount_test.go
+1
-1
helpers.go
importer/helpers/helpers.go
+1
-1
没有找到文件。
blockservice/blockservice.go
浏览文件 @
affb06d5
...
...
@@ -118,7 +118,7 @@ func (s *blockService) AddBlocks(bs []blocks.Block) ([]*cid.Cid, error) {
toput
=
append
(
toput
,
b
)
}
}
else
{
toput
=
bs
;
toput
=
bs
}
err
:=
s
.
blockstore
.
PutMany
(
toput
)
...
...
cmd/ipfs/init.go
浏览文件 @
affb06d5
...
...
@@ -8,13 +8,13 @@ import (
"os"
"path"
context
"context"
assets
"github.com/ipfs/go-ipfs/assets"
cmds
"github.com/ipfs/go-ipfs/commands"
core
"github.com/ipfs/go-ipfs/core"
namesys
"github.com/ipfs/go-ipfs/namesys"
config
"github.com/ipfs/go-ipfs/repo/config"
fsrepo
"github.com/ipfs/go-ipfs/repo/fsrepo"
context
"context"
)
const
(
...
...
core/core_test.go
浏览文件 @
affb06d5
...
...
@@ -3,10 +3,10 @@ package core
import
(
"testing"
context
"context"
"github.com/ipfs/go-ipfs/repo"
config
"github.com/ipfs/go-ipfs/repo/config"
"github.com/ipfs/go-ipfs/thirdparty/testutil"
context
"context"
)
func
TestInitialization
(
t
*
testing
.
T
)
{
...
...
core/corerepo/stat.go
浏览文件 @
affb06d5
...
...
@@ -3,9 +3,9 @@ package corerepo
import
(
"fmt"
context
"context"
"github.com/ipfs/go-ipfs/core"
fsrepo
"github.com/ipfs/go-ipfs/repo/fsrepo"
context
"context"
)
type
Stat
struct
{
...
...
core/coreunix/cat.go
浏览文件 @
affb06d5
package
coreunix
import
(
context
"context"
core
"github.com/ipfs/go-ipfs/core"
path
"github.com/ipfs/go-ipfs/path"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
context
"context"
)
func
Cat
(
ctx
context
.
Context
,
n
*
core
.
IpfsNode
,
pstr
string
)
(
*
uio
.
DagReader
,
error
)
{
...
...
fuse/ipns/link_unix.go
浏览文件 @
affb06d5
...
...
@@ -5,9 +5,9 @@ package ipns
import
(
"os"
"context"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/bazil.org/fuse/fs"
"context"
)
type
Link
struct
{
...
...
fuse/node/mount_test.go
浏览文件 @
affb06d5
...
...
@@ -9,13 +9,13 @@ import (
"testing"
"time"
context
"context"
core
"github.com/ipfs/go-ipfs/core"
ipns
"github.com/ipfs/go-ipfs/fuse/ipns"
mount
"github.com/ipfs/go-ipfs/fuse/mount"
namesys
"github.com/ipfs/go-ipfs/namesys"
offroute
"github.com/ipfs/go-ipfs/routing/offline"
ci
"github.com/ipfs/go-ipfs/thirdparty/testutil/ci"
context
"context"
)
func
maybeSkipFuseTests
(
t
*
testing
.
T
)
{
...
...
importer/helpers/helpers.go
浏览文件 @
affb06d5
...
...
@@ -3,10 +3,10 @@ package helpers
import
(
"fmt"
"context"
chunk
"github.com/ipfs/go-ipfs/importer/chunk"
dag
"github.com/ipfs/go-ipfs/merkledag"
ft
"github.com/ipfs/go-ipfs/unixfs"
"context"
)
// BlockSizeLimit specifies the maximum size an imported block can have.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论