MCPcopy
hub / github.com/XiaoMi/naftis / Add

Method Add

src/api/service/task.go:32–34  ·  view source on GitHub ↗
(tmplID uint, command int, content, operator, serviceUID, namespace string)

Source from the content-addressed store, hash-verified

30}
31
32func (task) Add(tmplID uint, command int, content, operator, serviceUID, namespace string) error {
33 return worker.Feed(tmplID, command, content, operator, serviceUID, namespace, 1)
34}
35
36// Deprecated: the function is already Deprecated.
37func (task) Update(content, operator, serviceUID string, id, tmplID uint) error {

Callers 6

syncMethod · 0.45
AddTaskTmplsFunction · 0.45
readMethod · 0.45
writeMethod · 0.45
AddTasksFunction · 0.45
LoginAccountFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected