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

Mikaela picture Mikaela  路  3Comments

Kubuxu picture Kubuxu  路  3Comments

magik6k picture magik6k  路  3Comments

ArcticLampyrid picture ArcticLampyrid  路  3Comments

daviddias picture daviddias  路  3Comments