1. 06 Jul, 2018 1 commit
    • Lucas Molas's avatar
      pbdagreader: use FSNode instead of protobuf structure · c847ff39
      Lucas Molas authored
      Focus on the UnixFS layer and avoid explicit references to protocol buffers
      format (used to serialize objects of that layer). Use the `unixfs.FSNode`
      structure which it abstracts from the `unixfs.pb.Data` format.
      
      Replace `PBDagReader` field `ftpb.Data` with `ft.FSNode`, renaming it to `file`
      (which is the type of UnixFS object represented in the reader) and changing its
      comment removing the "cached" reference, as this structure is not used here as a
      cache (`PBDagReader` doesn't modify the DAG, it's read-only). Also, removed
      unused `ProtoNode` field to avoid confusions, as it would normally be present if
      the `FSNode` was in fact used as a cache of the contents of the `ProtoNode`.
      
      An example of the advantage of shifting the focus from the format to the UnixFS
      layer is dropping the of use `len(pb.Blocksizes)` in favor of the more clear
      `NumChildren()` abstraction.
      
      Added `BlockSize()` accessor.
      
      License: MIT
      Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
      c847ff39
  2. 09 Jun, 2018 1 commit
  3. 30 Mar, 2018 1 commit
  4. 23 Mar, 2018 3 commits
  5. 06 Feb, 2018 2 commits
  6. 02 Feb, 2018 1 commit
  7. 29 Jan, 2018 1 commit
  8. 25 Jan, 2018 2 commits
  9. 24 Jan, 2018 1 commit
  10. 31 Dec, 2017 1 commit
  11. 18 Oct, 2017 2 commits
  12. 31 May, 2017 1 commit
  13. 24 Nov, 2016 1 commit
  14. 22 Nov, 2016 1 commit
  15. 21 Nov, 2016 3 commits
  16. 16 Nov, 2016 1 commit
  17. 25 Oct, 2016 1 commit
  18. 18 Oct, 2016 1 commit
  19. 17 Oct, 2016 1 commit
  20. 12 Oct, 2016 1 commit
    • Jeromy's avatar
      merkledag: change 'Node' to be an interface · 93ba0e48
      Jeromy authored
      Also change existing 'Node' type to 'ProtoNode' and use that most
      everywhere for now. As we move forward with the integration we will try
      and use the Node interface in more places that we're currently using
      ProtoNode.
      
      License: MIT
      Signed-off-by: default avatarJeromy <why@ipfs.io>
      93ba0e48
  21. 06 Oct, 2016 1 commit
  22. 12 Sep, 2016 2 commits
  23. 17 Aug, 2016 1 commit
  24. 10 Jul, 2016 1 commit
  25. 14 Jun, 2016 1 commit
  26. 20 Feb, 2016 1 commit
  27. 13 Feb, 2016 1 commit
  28. 03 Feb, 2016 1 commit
    • Thomas Gardner's avatar
      trivial: various superficial fixes · 527151a7
      Thomas Gardner authored
      misc/completion/ipfs-completion.bash: add `ipfs stats` to BASH completion
      
      core/commands/mount_unix.go: ensure error is not nil before printing it
      
      contribute.md: fix bibliography indexing in example
      
      core/commands/swarm.go: change tabs to spaces in USAGE message
      
      *: 80-column readability improvements
      
      License: MIT
      Signed-off-by: default avatarThomas Gardner <tmg@fastmail.com>
      527151a7
  29. 30 Jan, 2016 1 commit
  30. 30 Aug, 2015 1 commit
  31. 20 Aug, 2015 1 commit
  32. 28 Apr, 2015 1 commit