summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-07-11 17:09:15 -0500
committerEdward Thomson <ethomson@microsoft.com>2013-07-11 17:17:53 -0500
commit0a1c8f55b35ebd35a7d267099257634483268ffd (patch)
tree35f35ddc8347354c0a8ffa526b38b824da07b1dc /src/fileops.h
parentf2de67d589e4fde3378f531c782cbe176cb65f36 (diff)
downloadlibgit2-0a1c8f55b35ebd35a7d267099257634483268ffd.tar.gz
preload configuration paths
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index f4e059c83..d23ebaffb 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -310,6 +310,13 @@ typedef enum {
} git_futils_dir_t;
/**
+ * Configures global data for configuration file search paths.
+ *
+ * @return 0 on success, <0 on failure
+ */
+extern int git_futils_dirs_global_init(void);
+
+/**
* Get the search path for global/system/xdg files
*
* @param out pointer to git_buf containing search path