diff options
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileops.h b/src/fileops.h index d271f312b..1b70fc836 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -170,7 +170,7 @@ extern int gitfo_getcwd(char *buffer_out, size_t size); * - GIT_SUCCESS on success; * - GIT_ERROR when the input path is invalid or escapes the current directory. */ -int gitfo_prettify_dir_path(char *buffer_out, size_t size, const char *path); +int gitfo_prettify_dir_path(char *buffer_out, size_t size, const char *path, const char *base_path); /** * Clean up a provided absolute or relative file path. @@ -193,7 +193,7 @@ int gitfo_prettify_dir_path(char *buffer_out, size_t size, const char *path); * - GIT_SUCCESS on success; * - GIT_ERROR when the input path is invalid or escapes the current directory. */ -int gitfo_prettify_file_path(char *buffer_out, size_t size, const char *path); +int gitfo_prettify_file_path(char *buffer_out, size_t size, const char *path, const char *base_path); int gitfo_retrieve_path_root_offset(const char *path); |
