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

Function ArgumentOf

pkg/filter/fields/fields_windows.go:1299–1306  ·  view source on GitHub ↗

ArgumentOf returns argument data for the specified field.

(name string)

Source from the content-addressed store, hash-verified

1297
1298// ArgumentOf returns argument data for the specified field.
1299func ArgumentOf(name string) *Argument {
1300 f, ok := fields[Field(name)]
1301 if !ok {
1302 // this can happen for pseudo fields
1303 return nil
1304 }
1305 return f.Argument
1306}
1307
1308// IsField returns true if the provided string is a
1309// recognized field or pseudo field. Otherwise, it

Callers 1

parseFieldMethod · 0.92

Calls 1

FieldTypeAlias · 0.70

Tested by

no test coverage detected