MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / buildBatchSkillInstallTaskID

Function buildBatchSkillInstallTaskID

agent/app/service/agents.go:567–573  ·  view source on GitHub ↗
(taskID string, agentID uint)

Source from the content-addressed store, hash-verified

565}
566
567func buildBatchSkillInstallTaskID(taskID string, agentID uint) string {
568 taskID = strings.TrimSpace(taskID)
569 if taskID == "" {
570 taskID = fmt.Sprintf("batch-skill-install-%d-%d", agentID, time.Now().UnixNano())
571 }
572 return fmt.Sprintf("%s-%d", taskID, agentID)
573}
574
575func buildBatchOperateTaskID(taskID string, agentID uint) string {
576 taskID = strings.TrimSpace(taskID)

Callers 1

BatchInstallSkillMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected