MCPcopy
hub / github.com/urfave/cli / Uint8Slice

Method Uint8Slice

flag_uint_slice.go:32–34  ·  view source on GitHub ↗

Uint8Slice looks up the value of a local Uint8SliceFlag, returns nil if not found

(name string)

Source from the content-addressed store, hash-verified

30// Uint8Slice looks up the value of a local Uint8SliceFlag, returns
31// nil if not found
32func (cmd *Command) Uint8Slice(name string) []uint8 {
33 return getUintSlice[uint8](cmd, name)
34}
35
36// Uint16Slice looks up the value of a local Uint16SliceFlag, returns
37// nil if not found

Callers 1

TestCommand_Uint8SliceFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestCommand_Uint8SliceFunction · 0.76