1. 20 Dec, 2017 2 commits
  2. 15 Dec, 2017 2 commits
  3. 14 Dec, 2017 1 commit
  4. 02 Sep, 2017 1 commit
  5. 12 Jul, 2017 1 commit
  6. 04 Jul, 2017 1 commit
  7. 29 Jun, 2017 1 commit
  8. 20 Apr, 2017 1 commit
  9. 17 Mar, 2017 2 commits
    • Lars Gierth's avatar
      coreapi: make the interfaces path centric · 66af0391
      Lars Gierth authored
      The new coreiface.Path maps a path to the cid.Cid
      resulting from a full path resolution.
      
      The path is internally represented as a go-ipfs/path.Path,
      but that doesn't matter to the outside.
      
      Apart from the path-to-CID mapping, it also aims to hold all
      resolved segment CIDs of the path. Right now it only exposes
      Root(), and only for flat paths a la /ipfs/Qmfoo. In other cases,
      the root is nil.
      
      In the future, resolution will internally use
      go-ipfs/path.Resolver.ResolvePathComponents and thus always return
      the proper resolved segments, via Root(), or a future Segments() func.
      
      - Add coreiface.Path with Cid() and Root().
      - Add CoreAPI.ResolvePath() for getting a coreiface.Path.
      - All functions now expect and return coreiface.Path.
      - Add ParsePath() and ParseCid() for constructing a coreiface.Path.
      - Add coreiface.Node and Link which are simply go-ipld-node.Node and Link.
      - Add CoreAPI.ResolveNode() for getting a Node from a Path.
      
      License: MIT
      Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
      66af0391
    • Lars Gierth's avatar
      coreapi: smarter way of dealing with the different APIs · e69000d4
      Lars Gierth authored
      License: MIT
      Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
      e69000d4
  10. 12 Feb, 2017 1 commit
  11. 29 Nov, 2016 1 commit
  12. 16 Nov, 2016 1 commit
  13. 07 Nov, 2016 3 commits