summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-12-31 15:35:36 -0800
committerShawn O. Pearce <spearce@spearce.org>2008-12-31 15:35:36 -0800
commit5690f02e87e4fd31dfa9fd7c9c01aba03603cde8 (patch)
tree9396ec28d49129250ff79463cf588e1a8512984f /src/util.c
parent9eb7976448bf684dfb41993ef6c76098978ff933 (diff)
downloadlibgit2-5690f02e87e4fd31dfa9fd7c9c01aba03603cde8.tar.gz
Rewrite git_foreach_dirent into gitfo_dirent
Our fileops API is currently private. We aren't planning on supplying a cross-platform file API to applications that link to us. If we did, we'd probably whole-sale publish fileops, not just the dirent code. By moving it to be private we can also change the call signature to permit the buffer to be passed down through the call chain. This is very helpful when we are doing a recursive scan as we can reuse just one buffer in all stack frames, reducing the impact the recursion has on the stack frames in the data cache. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions