MCPcopy Create free account
hub / github.com/gogs/gogs / Start

Method Start

internal/sync/status_table.go:24–29  ·  view source on GitHub ↗

Start sets value of given name to true in the pool.

(name string)

Source from the content-addressed store, hash-verified

22
23// Start sets value of given name to true in the pool.
24func (p *StatusTable) Start(name string) {
25 p.Lock()
26 defer p.Unlock()
27
28 p.pool[name] = true
29}
30
31// Stop sets value of given name to false in the pool.
32func (p *StatusTable) Stop(name string) {

Callers 1

handleServerConnFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected