MCPcopy Create free account
hub / github.com/UiPath/uipathcli / getFileParameter

Method getFileParameter

plugin/digitizer/digitize_command.go:106–117  ·  view source on GitHub ↗
(parameters []plugin.ExecutionParameter)

Source from the content-addressed store, hash-verified

104}
105
106func (c DigitizeCommand) getFileParameter(parameters []plugin.ExecutionParameter) stream.Stream {
107 var result stream.Stream
108 for _, p := range parameters {
109 if p.Name == "file" {
110 if stream, ok := p.Value.(stream.Stream); ok {
111 result = stream
112 break
113 }
114 }
115 }
116 return result
117}
118
119func NewDigitizeCommand() *DigitizeCommand {
120 return &DigitizeCommand{}

Callers 1

startDigitizationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected