diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-04 20:05:11 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-05 02:06:26 +0200 |
commit | 5ad739e8328c665b629e2285abaec7e12ea8397c (patch) | |
tree | be0677bcaeaa318bf20b8fa765e3bf478fb5bc55 /src/fileops.h | |
parent | f79026b4912bcd2336667f4c1663c06e233f0b32 (diff) | |
download | libgit2-5ad739e8328c665b629e2285abaec7e12ea8397c.tar.gz |
fileops: Drop `git_fileops_prettify_path`
The old `git_fileops_prettify_path` has been replaced with
`git_path_prettify`. This is a much simpler method that uses the OS's
`realpath` call to obtain the full path for directories and resolve
symlinks.
The `realpath` syscall is the original POSIX call in Unix system and
an emulated version under Windows using the Windows API.
Diffstat (limited to 'src/fileops.h')
-rw-r--r-- | src/fileops.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fileops.h b/src/fileops.h index 52eb2295c..c9ede4978 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -198,6 +198,5 @@ int git_futils_prettify_dir(char *buffer_out, size_t size, const char *path, con */ int git_futils_prettyify_file(char *buffer_out, size_t size, const char *path, const char *base_path); -int git_futils_root_offset(const char *path); #endif /* INCLUDE_fileops_h__ */ |