Add a dirent walker to the fileops API
commitea790f337b0e401f5e4acabf9af9c2bc756d5f3b
authorAndreas Ericsson <ae@op5.se>
Sat, 29 Nov 2008 14:34:20 +0000 (29 15:34 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 2 Dec 2008 17:18:19 +0000 (2 09:18 -0800)
tree8ec389978cc56e25a6a5bdf6be993c7664e762b5
parent4188d28f1c38240392d896fc79561cc461fb12c0
Add a dirent walker to the fileops API

Since at least MS have something like GetFirstDirEnt() and
GetNextDirEnt() (presumably with superior performance), we
can let MS hackers add support for a dirent walker using
that API instead, while we stick with the posix-style
readdir() calls.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
src/fileops.c
src/fileops.h
src/git/fileops.h [new file with mode: 0644]