MCPcopy
hub / github.com/eatmoreapple/openwechat / Close

Method Close

storage.go:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (j *fileHotReloadStorage) Close() error {
65 j.lock.Lock()
66 defer j.lock.Unlock()
67 if j.file == nil {
68 return nil
69 }
70 return j.file.Close()
71}
72
73// Deprecated: use NewFileHotReloadStorage instead
74// 不再单纯以json的格式存储,支持了用户自定义序列化方式

Callers 15

SaveFileMethod · 0.80
SaveFileToLocalMethod · 0.80
SaveAvatarMethod · 0.80
SaveAvatarWithWriterMethod · 0.80
GetLoginUUIDMethod · 0.80
CheckLoginMethod · 0.80
GetLoginInfoMethod · 0.80
WebInitMethod · 0.80
WebWxStatusNotifyMethod · 0.80
SyncCheckMethod · 0.80
WebWxGetContactMethod · 0.80
WebWxBatchGetContactMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected