]> git.proxmox.com Git - libgit2.git/commit
Introduce `git_sysdir_expand_global_file`
authorEdward Thomson <ethomson@edwardthomson.com>
Thu, 23 Mar 2017 11:48:41 +0000 (11:48 +0000)
committerEdward Thomson <ethomson@edwardthomson.com>
Thu, 23 Mar 2017 12:12:39 +0000 (12:12 +0000)
commit5135ddaac6710cc0b4373764835dc6c519812bc4
tree9ab19b4700db0c752701fdc2b256f2dbb6719285
parent301dc26a5a426870dc8f0728670c1c59ca42d300
Introduce `git_sysdir_expand_global_file`

Provide a mechanism for callers to expand the full path of a file in the
global configuration directory (that is to say, the home directory) even
if the file doesn't necessarily exist.  This lets callers use their own
logic for building paths separate from handling file existence.
src/sysdir.c
src/sysdir.h