1. 05 Jul, 2011 1 commit
    • 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. 11 Jan, 2011 1 commit
  3. 22 Dec, 2010 2 commits
  4. 20 Mar, 2009 1 commit
    • win32: Add routines to abstract memory-mapped file functions · 79ca2edc
      In particular, the git__mmap() and git__munmap() routines provide
      the interface to platform specific memory-mapped file facilities.
      We provide implementations for unix and win32, which can be found
      in their own sub-directories.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Ramsay Jones committed