MCPcopy Create free account
hub / github.com/TruthHun/BookStack / BooksLock

Struct BooksLock

utils/lock.go:8–11  ·  view source on GitHub ↗

书籍发布锁和书籍离线文档生成锁

Source from the content-addressed store, hash-verified

6
7//书籍发布锁和书籍离线文档生成锁
8type BooksLock struct {
9 Books map[int]bool
10 Lock sync.RWMutex
11}
12
13//查询是否存在
14func (this BooksLock) Exist(bookId int) (exist bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected