MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Type

Method Type

pkg/cap/section/section.go:53–53  ·  view source on GitHub ↗

Type returns the type of this section.

()

Source from the content-addressed store, hash-verified

51
52// Type returns the type of this section.
53func (s Section) Type() Type { return Type(s[0]) }
54
55// Version returns the version of the capture section block.
56func (s Section) Version() capver.Version { return capver.Version(s[1]) }

Callers 1

StringMethod · 0.95

Calls 1

TypeTypeAlias · 0.70

Tested by

no test coverage detected