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. 10 Apr, 2020 1 commit
  3. 14 Feb, 2020 1 commit
  4. 01 Mar, 2019 1 commit
  5. 24 Mar, 2018 1 commit
  6. 15 Mar, 2018 1 commit
  7. 17 Feb, 2017 1 commit
  8. 12 Feb, 2017 2 commits
  9. 19 Jan, 2017 4 commits