MCPcopy Index your code
hub / github.com/gogs/gogs / Add

Method Add

internal/sync/unique_queue.go:59–61  ·  view source on GitHub ↗

Add adds new instance to the queue.

(id any)

Source from the content-addressed store, hash-verified

57
58// Add adds new instance to the queue.
59func (q *UniqueQueue) Add(id any) {
60 q.AddFunc(id, nil)
61}
62
63// Remove removes instance from the queue.
64func (q *UniqueQueue) Remove(id any) {

Callers 15

SetCookieMethod · 0.80
TimeoutDialerFunction · 0.80
AfterFindMethod · 0.80
updateWikiPageMethod · 0.80
DeleteWikiPageMethod · 0.80
ScheduleNextSyncMethod · 0.80
MirrorUpdateFunction · 0.80
MergeMethod · 0.80
UpdateRepoFileMethod · 0.80
DeleteRepoFileMethod · 0.80
UploadRepoFilesMethod · 0.80

Calls 1

AddFuncMethod · 0.95

Tested by 1