MCPcopy Create free account
hub / github.com/libgit2/git2go / newConfigEntryFromC

Function newConfigEntryFromC

config.go:46–52  ·  view source on GitHub ↗
(centry *C.git_config_entry)

Source from the content-addressed store, hash-verified

44}
45
46func newConfigEntryFromC(centry *C.git_config_entry) *ConfigEntry {
47 return &ConfigEntry{
48 Name: C.GoString(centry.name),
49 Value: C.GoString(centry.value),
50 Level: ConfigLevel(centry.level),
51 }
52}
53
54type Config struct {
55 doNotCompare

Callers 1

NextMethod · 0.85

Calls 1

ConfigLevelTypeAlias · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…