stash/pkg/plugin/convert.go

15 lines
240 B
Go

package plugin
import (
"github.com/stashapp/stash/pkg/plugin/common"
)
func toPluginArgs(args OperationInput) common.ArgsMap {
ret := make(common.ArgsMap)
for k, a := range args {
ret[k] = common.PluginArgValue(a)
}
return ret
}