1. 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
  2. 17 Apr, 2020 4 commits
  3. 13 Apr, 2020 1 commit
    • 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
  4. 10 Apr, 2020 6 commits
  5. 09 Apr, 2020 2 commits
  6. 31 Mar, 2020 2 commits
  7. 14 Feb, 2020 7 commits
  8. 11 Feb, 2020 1 commit
  9. 03 Dec, 2019 1 commit
  10. 02 Dec, 2019 1 commit
  11. 21 Aug, 2019 2 commits
  12. 15 Mar, 2019 1 commit
  13. 01 Mar, 2019 2 commits
  14. 18 Dec, 2018 1 commit
    • Steven Allen's avatar
      query: fix goroutine leak · e994c05d
      Steven Allen authored
      Closing a query early could leak the query goroutine if the buffer isn't large
      enough to fit the rest of the query.
      e994c05d
  15. 04 Oct, 2018 1 commit
  16. 10 Sep, 2018 1 commit
  17. 13 Aug, 2018 1 commit
  18. 03 Apr, 2018 2 commits
  19. 01 Apr, 2018 1 commit
  20. 29 Mar, 2018 1 commit
  21. 27 Mar, 2018 1 commit