summaryrefslogtreecommitdiff
path: root/src/iterator.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-04-29 14:03:20 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-05-01 12:31:14 -0400
commit35c1d20750cab4c3c1f86d1668bdb95213a25c4d (patch)
tree53db70bb0dc700ab2aee947eaf47d5ee1a0de2db /src/iterator.c
parent07bbc045c77d47e8eb245d599f0f753ed62fea9b (diff)
downloadlibgit2-35c1d20750cab4c3c1f86d1668bdb95213a25c4d.tar.gz
git_win32_path_dirload_with_stat: removed
Diffstat (limited to 'src/iterator.c')
-rw-r--r--src/iterator.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/iterator.c b/src/iterator.c
index 80b7d5faa..93815b478 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -984,21 +984,6 @@ static void fs_iterator__seek_frame_start(
ff->index = 0;
}
-GIT_INLINE(int) path_dirload_with_stat(
- const char *path,
- size_t prefix_len,
- unsigned int flags,
- const char *start_stat,
- const char *end_stat,
- git_vector *contents)
-{
-#if defined(GIT_WIN32) && !defined(__MINGW32__)
- return git_win32_path_dirload_with_stat(path, prefix_len, flags, start_stat, end_stat, contents);
-#else
- return git_path_dirload_with_stat(path, prefix_len, flags, start_stat, end_stat, contents);
-#endif
-}
-
static int fs_iterator__expand_dir(fs_iterator *fi)
{
int error;
@@ -1013,7 +998,7 @@ static int fs_iterator__expand_dir(fs_iterator *fi)
ff = fs_iterator__alloc_frame(fi);
GITERR_CHECK_ALLOC(ff);
- error = path_dirload_with_stat(
+ error = git_path_dirload_with_stat(
fi->path.ptr, fi->root_len, fi->dirload_flags,
fi->base.start, fi->base.end, &ff->entries);