Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ Delete
Method
Delete
utils/lock.go:29–33 ·
view source on GitHub ↗
删除
(bookId int)
Source
from the content-addressed store, hash-verified
27
28
//删除
29
func
(this BooksLock) Delete(bookId int) {
30
this.Lock.RLock()
31
defer
this.Lock.RUnlock()
32
delete(this.Books, bookId)
33
}
Callers
1
clearExpireSign
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected