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/posix.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/posix.c')
| -rw-r--r-- | src/posix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/posix.c b/src/posix.c index c40134824..b1f85dc94 100644 --- a/src/posix.c +++ b/src/posix.c @@ -7,7 +7,7 @@ #include "posix.h" -#include "path.h" +#include "fs_path.h" #include <stdio.h> #include <ctype.h> @@ -144,8 +144,8 @@ int p_getcwd(char *buffer_out, size_t size) if (cwd_buffer == NULL) return -1; - git_path_mkposix(buffer_out); - git_path_string_to_dir(buffer_out, size); /* append trailing slash */ + git_fs_path_mkposix(buffer_out); + git_fs_path_string_to_dir(buffer_out, size); /* append trailing slash */ return 0; } |
