1. 10 Aug, 2021 2 commits
  2. 21 Jun, 2021 2 commits
  3. 02 May, 2021 2 commits
  4. 04 Jan, 2021 1 commit
  5. 27 Dec, 2020 1 commit
  6. 29 Jul, 2020 1 commit
    • Fazlul Shahriar's avatar
      Add os.Rename wrapper for Plan 9 (#87) · d5fa746e
      Fazlul Shahriar authored
      os.Rename documentation says: "OS-specific restrictions may apply when
      oldpath and newpath are in different directories." On Unix, this means
      we can't rename across devices. On Plan 9 however, the functionality is
      even more limited: cross-directory renames are not allowed at all.
      
      Add a wrapper around os.Rename for Plan 9, which will copy the file if
      we're renaming across directory. All tests seems to pass.
      
      (Aside: I also had to write this wrapper to get go-git working on Plan 9:
      https://github.com/go-git/go-billy/blob/v5.0.0/osfs/os_plan9.go#L27
      but I notice few issues with that one.)
      
      Fixes #86
      d5fa746e
  7. 04 May, 2020 1 commit
  8. 27 Apr, 2020 1 commit
  9. 17 Apr, 2020 5 commits
  10. 13 Apr, 2020 2 commits
    • Steven Allen's avatar
      Merge pull request #80 from ipfs/feat/clean-remove · bcc4dcb5
      Steven Allen authored
      cleanup putMany implementation
      bcc4dcb5
    • Steven Allen's avatar
      cleanup putMany implementation · bc42aaa6
      Steven Allen authored
      * Use a map for dirsToSync to avoid syncing the same dir multiple times.
      * Keep track of files in a slice, and use offsets into the slice to keep track
      of which ones have been closed/removed.
      
      Also, record the fact that we've created a temporary file _before_ we try to
      write to it, in case the write fails. That way, we'll try to remove it when we
      abort.
      bc42aaa6
  11. 10 Apr, 2020 15 commits
  12. 09 Apr, 2020 3 commits
  13. 01 Apr, 2020 4 commits