MCPcopy Create free account
hub / github.com/SignTools/SignTools / deleteById

Method deleteById

src/storage/job_resolver.go:119–127  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

117}
118
119func (r *JobResolver) deleteById(id string) bool {
120 job, ok := r.idToReturnJobMap[id]
121 if !ok {
122 return false
123 }
124 delete(r.appIdToReturnJobMap, job.AppId)
125 delete(r.idToReturnJobMap, id)
126 return true
127}

Callers 2

CleanupMethod · 0.95
DeleteByIdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected