mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
path: separate git-specific path functions from util
Introduce `git_fs_path`, which operates on generic filesystem paths. `git_path` will be kept for only git-specific path functionality (for example, checking for `.git` in a path).
This commit is contained in:
committed by
Edward Thomson
parent
44ec8b5cdf
commit
95117d4744
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
|
||||
fprintf(stderr, "Running %s against %s\n", argv[0], argv[1]);
|
||||
LLVMFuzzerInitialize(&argc, &argv);
|
||||
|
||||
if (git_path_dirload(&corpus_files, argv[1], 0, 0x0) < 0) {
|
||||
if (git_fs_path_dirload(&corpus_files, argv[1], 0, 0x0) < 0) {
|
||||
fprintf(stderr, "Failed to scan corpus directory '%s': %s\n",
|
||||
argv[1], git_error_last()->message);
|
||||
error = -1;
|
||||
|
||||
Reference in New Issue
Block a user