git_config_parse_path

Parse a string value as a path.

A leading '~' will be expanded to the global search path \(which defaults to the user's home directory but can be overridden via git_libgit2_opts().

If the value does not begin with a tilde, the input will be returned.

extern (C) nothrow @nogc public
int
git_config_parse_path

Parameters

out_ libgit2.buffer.git_buf*

placae to store the result of parsing

value const(char)*

the path to evaluate

Return Value

Type: int

0 or an error code.

Meta