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

Method Run

core/app/service/script_library.go:194–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 }
193}
194func (u *ScriptService) Run() {
195 if err := u.Sync(dto.OperateByTaskID{}); err != nil {
196 global.LOG.Errorf("sync scripts from remote failed, err: %v", err)
197 }
198}
199
200func LoadScriptInfo(id uint) (model.ScriptLibrary, error) {
201 return scriptRepo.Get(repo.WithByID(id))

Callers

nothing calls this directly

Calls 1

SyncMethod · 0.95

Tested by

no test coverage detected