]>
git.proxmox.com Git - libgit2.git/blob - src/util/win32/findfile.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
8 #ifndef INCLUDE_win32_findfile_h__
9 #define INCLUDE_win32_findfile_h__
11 #include "git2_util.h"
13 /** Sets the mock registry root for Git for Windows for testing. */
14 extern int git_win32__set_registry_system_dir(const wchar_t *mock_sysdir
);
16 extern int git_win32__find_system_dirs(git_str
*out
, const char *subpath
);
17 extern int git_win32__find_global_dirs(git_str
*out
);
18 extern int git_win32__find_xdg_dirs(git_str
*out
);
19 extern int git_win32__find_programdata_dirs(git_str
*out
);