1. 05 Jul, 2011 3 commits
    • fileops: Fix stat() on directories for W32 · 19ac1ed7
      The `stat` methods were having issues when called with a trailing slash
      in Windows platforms.
      
      We now use GetFileAttributes() where possible, which doesn't have this
      restriction.
      Vicent Marti committed
    • fileops: Drop `git_fileops_prettify_path` · 5ad739e8
      The old `git_fileops_prettify_path` has been replaced with
      `git_path_prettify`. This is a much simpler method that uses the OS's
      `realpath` call to obtain the full path for directories and resolve
      symlinks.
      
      The `realpath` syscall is the original POSIX call in Unix system and
      an emulated version under Windows using the Windows API.
      Vicent Marti committed
    • fileops: Cleanup · f79026b4
      Cleaned up the structure of the whole OS-abstraction layer.
      
      fileops.c now contains a set of utility methods for file management used
      by the library. These are abstractions on top of the original POSIX
      calls.
      
      There's a new file called `posix.c` that contains
      emulations/reimplementations of all the POSIX calls the library uses.
      These are prefixed with `p_`. There's a specific posix file for each
      platform (win32 and unix).
      
      All the path-related methods have been moved from `utils.c` to `path.c`
      and have their own prefix.
      Vicent Marti committed
  2. 03 Jul, 2011 1 commit
  3. 01 Jul, 2011 4 commits
  4. 30 Jun, 2011 8 commits
  5. 29 Jun, 2011 4 commits
  6. 28 Jun, 2011 12 commits
  7. 27 Jun, 2011 1 commit
  8. 26 Jun, 2011 2 commits
  9. 24 Jun, 2011 1 commit
  10. 23 Jun, 2011 4 commits