git_config_parse_bool

Parse a string value as a bool.

Valid values for true are: 'true', 'yes', 'on', 1 or any number different from 0 Valid values for false are: 'false', 'no', 'off', 0

extern (C) nothrow @nogc
int
git_config_parse_bool
(
int* out_
,
const(char)* value
)

Parameters

out_ int*

place to store the result of the parsing

value const(char)*

value to parse

Meta