1. 09 Jul, 2018 1 commit
    • Lucas Molas's avatar
      unixfs: add a directory interface · 7d531c00
      Lucas Molas authored
      Add a UnixFS `Directory` that hides implementation details and helps to
      distinguish *what* is a UnixFS directory.
      
      Replace the `unixfs.io.Directory` structure that contained the HAMT and basic
      directory implementations (through inner pointers) with an interface containing
      the same methods. Implement those methods in two clearly distinct structures for
      each implementation (`BasicDirectory` and `HAMTDirectory`) avoiding pointer
      logic and clearly differentiating which implementation does what.
      
      The potential basic to HAMT transition was being hidden behind the `AddChild`
      call at the UnixFS layer (changing one implementation pointer  with the other
      one), it is now being explicitly done at the MFS layer.
      
      Rename the `dirbuilder.go` file to `directory.go` and change the `Directory` MFS
      attribute `dirbuilder` to `unixfsDir` to be consistent.
      
      License: MIT
      Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
      7d531c00
  2. 09 Jun, 2018 1 commit
  3. 20 Mar, 2018 1 commit
  4. 29 Jan, 2018 1 commit
  5. 25 Jan, 2018 2 commits
  6. 24 Jan, 2018 1 commit
  7. 14 Dec, 2017 1 commit
  8. 19 Oct, 2017 1 commit
  9. 02 Sep, 2017 1 commit
  10. 12 Jul, 2017 1 commit
  11. 04 Jul, 2017 1 commit
  12. 29 Jun, 2017 1 commit
  13. 31 May, 2017 1 commit
  14. 26 Apr, 2017 3 commits
  15. 20 Apr, 2017 1 commit
  16. 24 Mar, 2017 1 commit
  17. 23 Mar, 2017 1 commit
  18. 22 Mar, 2017 2 commits
  19. 12 Feb, 2017 1 commit
  20. 29 Nov, 2016 1 commit
  21. 16 Nov, 2016 1 commit
  22. 25 Oct, 2016 1 commit
  23. 18 Oct, 2016 1 commit
  24. 17 Oct, 2016 1 commit
  25. 12 Oct, 2016 1 commit
    • Jeromy's avatar
      merkledag: change 'Node' to be an interface · 01aee446
      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>
      01aee446
  26. 06 Oct, 2016 1 commit
  27. 07 Sep, 2016 1 commit
  28. 01 Aug, 2016 1 commit
  29. 10 Jul, 2016 1 commit
  30. 02 Jun, 2016 1 commit
  31. 12 Apr, 2016 1 commit
  32. 20 Feb, 2016 1 commit
  33. 08 Feb, 2016 4 commits