1. 16 Jul, 2018 2 commits
  2. 06 Jul, 2018 2 commits
    • Lucas Molas's avatar
    • 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
  3. 05 Jul, 2018 1 commit
  4. 09 Jun, 2018 1 commit
  5. 30 Mar, 2018 1 commit
  6. 23 Mar, 2018 3 commits
  7. 06 Feb, 2018 2 commits
  8. 02 Feb, 2018 1 commit
  9. 29 Jan, 2018 1 commit
  10. 25 Jan, 2018 2 commits
  11. 24 Jan, 2018 1 commit
  12. 31 Dec, 2017 1 commit
  13. 18 Oct, 2017 2 commits
  14. 31 May, 2017 1 commit
  15. 24 Nov, 2016 1 commit
  16. 22 Nov, 2016 1 commit
  17. 21 Nov, 2016 3 commits
  18. 16 Nov, 2016 1 commit
  19. 25 Oct, 2016 1 commit
  20. 18 Oct, 2016 1 commit
  21. 17 Oct, 2016 1 commit
  22. 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
  23. 06 Oct, 2016 1 commit
  24. 12 Sep, 2016 2 commits
  25. 17 Aug, 2016 1 commit
  26. 10 Jul, 2016 1 commit
  27. 14 Jun, 2016 1 commit
  28. 20 Feb, 2016 1 commit
  29. 13 Feb, 2016 1 commit
  30. 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