1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-23 05:35:58 +08:00

integrate CIDv0

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
This commit is contained in:
Jeromy
2016-09-01 07:50:27 -07:00
parent 6df5afaa9e
commit c8fe495934
70 changed files with 881 additions and 1004 deletions

View File

@ -53,16 +53,12 @@ represent it.
return
}
k, err := node.Key()
if err != nil {
res.SetError(err, cmds.ErrNormal)
return
}
c := node.Cid()
fi.FileName()
res.SetOutput(&coreunix.AddedObject{
Name: fi.FileName(),
Hash: k.B58String(),
Hash: c.String(),
})
},
Type: coreunix.AddedObject{},