1. 28 Jul, 2018 1 commit
  2. 16 Jul, 2018 4 commits
  3. 09 Jul, 2018 2 commits
    • Lucas Molas's avatar
      unixfs: remove unused `ShardSplitThreshold` variable · ba02f3fa
      Lucas Molas authored
      License: MIT
      Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
      ba02f3fa
    • Lucas Molas's avatar
      unixfs: add a directory interface · 842c17b9
      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>
      842c17b9
  4. 06 Jul, 2018 3 commits
  5. 05 Jul, 2018 1 commit
  6. 28 Jun, 2018 3 commits
  7. 27 Jun, 2018 1 commit
  8. 09 Jun, 2018 1 commit
  9. 19 Apr, 2018 1 commit
  10. 17 Apr, 2018 1 commit
    • Lucas Molas's avatar
      dag: deduplicate AddNodeLinkClean into AddNodeLink · 165433d2
      Lucas Molas authored
      `AddNodeLink` used to cache the linked node whereas `AddNodeLinkClean`
      did not, however, at some point the former was changed to do the same
      thing as the latter (i.e., not cache the linked node). That is, they now
      do the same thing so there's no reason to have both.
      
      The name `AddNodeLink` is preserved, even though it used to imply the
      cache functionality contrasting with the `Clean` suffix of
      `AddNodeLinkClean`, with this function removed the cache connotation
      doesn't hold anymore.
      
      License: MIT
      Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
      165433d2
  11. 30 Mar, 2018 1 commit
  12. 23 Mar, 2018 3 commits
  13. 15 Mar, 2018 1 commit
  14. 07 Feb, 2018 2 commits
  15. 06 Feb, 2018 3 commits
  16. 02 Feb, 2018 1 commit
  17. 29 Jan, 2018 1 commit
  18. 25 Jan, 2018 2 commits
  19. 24 Jan, 2018 1 commit
  20. 02 Jan, 2018 1 commit
  21. 31 Dec, 2017 1 commit
  22. 14 Dec, 2017 1 commit
  23. 19 Oct, 2017 4 commits