Go-ipfs: let me show you my pokemans

Created on 17 May 2016  路  1Comment  路  Source: ipfs/go-ipfs

mkdir foo
echo "bar" >foo/bar
f=$(ipfs add -r -q foo | tail -n1)
r=$(ipfs object new unixfs-dir);
r=$(ipfs object patch $r add-link bar /ipfs/$f/bar)
ipfs cat /ipfs/$r/bar
cat wat.png

TODO

  • [x] check nil key in blockstore.Get and add test
  • [x] check nil key in dagservice.Get and add test
  • [x] object patch add-link should ParsePath and core.Resolve (not just parse key)
  • [ ] rm-link and other patch cmds same thing
kinbug

Most helpful comment

Nit: theres not a pokemon game cartridge in that GBA.

>All comments

Nit: theres not a pokemon game cartridge in that GBA.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daviddias picture daviddias  路  3Comments

lidel picture lidel  路  3Comments

whyrusleeping picture whyrusleeping  路  4Comments

0x6431346e picture 0x6431346e  路  3Comments

funkyfuture picture funkyfuture  路  3Comments