git_config_lookup_map_value

Maps a string value to an integer constant

extern (C) nothrow @nogc
int
git_config_lookup_map_value
(
int* out_
,,
size_t map_n
,
const(char)* value
)

Parameters

out_ int*

place to store the result of the parsing

maps const(.git_configmap)*

array of git_configmap objects specifying the possible mappings

map_n size_t

number of mapping objects in maps

value const(char)*

value to parse

Meta