MCPcopy
hub / github.com/safing/portmaster / AddVersionInfo

Method AddVersionInfo

base/utils/debug/debug.go:84–90  ·  view source on GitHub ↗

AddVersionInfo adds version information from the info pkg.

()

Source from the content-addressed store, hash-verified

82
83// AddVersionInfo adds version information from the info pkg.
84func (di *Info) AddVersionInfo() {
85 di.AddSection(
86 "Version "+info.Version(),
87 UseCodeSection,
88 info.FullVersion(),
89 )
90}
91
92// AddGoroutineStack adds the current goroutine stack.
93func (di *Info) AddGoroutineStack() {

Callers 3

debugInfoFunction · 0.80
debugInfoFunction · 0.80
debugInfoFunction · 0.80

Calls 3

AddSectionMethod · 0.95
VersionFunction · 0.92
FullVersionFunction · 0.92

Tested by

no test coverage detected