From 1744fafec05d8fa3036a43f5e390c790810b05a5 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 17 Jan 2012 15:49:47 -0800 Subject: Move path related functions from fileops to path This takes all of the functions that look up simple data about paths (such as `git_futils_isdir`) and moves them over to path.h (becoming `git_path_isdir`). This leaves fileops.h just with functions that actually manipulate the filesystem or look at the file contents in some way. As part of this, the dir.h header which is really just for win32 support was moved into win32 (with some minor changes). --- tests/t03-objwrite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/t03-objwrite.c') diff --git a/tests/t03-objwrite.c b/tests/t03-objwrite.c index 1fc0cac5e..1650b8060 100644 --- a/tests/t03-objwrite.c +++ b/tests/t03-objwrite.c @@ -44,9 +44,9 @@ static int make_odb_dir(void) static int check_object_files(object_data *d) { - if (git_futils_exists(d->dir) < 0) + if (git_path_exists(d->dir) < 0) return -1; - if (git_futils_exists(d->file) < 0) + if (git_path_exists(d->file) < 0) return -1; return 0; } -- cgit v1.2.1