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

Method IsRunning

internal/sync/status_table.go:40–45  ·  view source on GitHub ↗

IsRunning checks if value of given name is set to true in the pool.

(name string)

Source from the content-addressed store, hash-verified

38
39// IsRunning checks if value of given name is set to true in the pool.
40func (p *StatusTable) IsRunning(name string) bool {
41 p.RLock()
42 defer p.RUnlock()
43
44 return p.pool[name]
45}

Callers 6

MirrorUpdateFunction · 0.80
DeleteRepositoryArchivesFunction · 0.80
GitFsckFunction · 0.80
CheckRepoStatsFunction · 0.80
ExistMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected