1. 11 Oct, 2021 1 commit
  2. 23 Aug, 2021 1 commit
  3. 07 May, 2021 1 commit
  4. 06 May, 2021 2 commits
  5. 26 Jul, 2019 1 commit
  6. 29 Oct, 2018 3 commits
  7. 11 Aug, 2018 2 commits
  8. 30 Jul, 2018 1 commit
  9. 28 Jul, 2018 1 commit
  10. 16 Jul, 2018 2 commits
  11. 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