Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ChineseSubFinder/ChineseSubFinder
/ Lock
Struct
Lock
pkg/lock/lock.go:6–9 ·
view source on GitHub ↗
Lock try lock
Source
from the content-addressed store, hash-verified
4
5
// Lock try lock
6
type
Lock
struct
{
7
isLocked bool
8
ll sync.Mutex
9
}
10
11
// NewLock generate a try lock
12
func
NewLock() *Lock {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected