diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 15:20:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-11 15:20:50 -0500 |
| commit | ceddeed80a21f0d3a3396d90dd61fada361ed745 (patch) | |
| tree | 1b21dd455b3fbffcd4d5da52f5e8a58785510dd4 /src/sysdir.c | |
| parent | 9ab351c0d5330106b5562524cd303cbd5789a1d8 (diff) | |
| parent | 1a8b2922d953e78bd51fc6d5ef290e1f7e00af3a (diff) | |
| download | libgit2-ceddeed80a21f0d3a3396d90dd61fada361ed745.tar.gz | |
Merge pull request #6104 from libgit2/ethomson/path
path: refactor utility path functions
Diffstat (limited to 'src/sysdir.c')
| -rw-r--r-- | src/sysdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdir.c b/src/sysdir.c index 457d7f8a8..84d212e01 100644 --- a/src/sysdir.c +++ b/src/sysdir.c @@ -9,7 +9,7 @@ #include "runtime.h" #include "str.h" -#include "path.h" +#include "fs_path.h" #include <ctype.h> #if GIT_WIN32 #include "win32/findfile.h" @@ -291,7 +291,7 @@ static int git_sysdir_find_in_dirlist( if (name) GIT_ERROR_CHECK_ERROR(git_str_joinpath(path, path->ptr, name)); - if (git_path_exists(path->ptr)) + if (git_fs_path_exists(path->ptr)) return 0; } |
