MCPcopy
hub / github.com/tinode/chat / SetTrusted

Method SetTrusted

server/store/types/types.go:957–959  ·  view source on GitHub ↗

SetTrusted assigns a value to `trusted`, otherwise not accessible from outside the package.

(tstd any)

Source from the content-addressed store, hash-verified

955
956// SetTrusted assigns a value to `trusted`, otherwise not accessible from outside the package.
957func (s *Subscription) SetTrusted(tstd any) {
958 s.trusted = tstd
959}
960
961// GetTrusted reads value of `trusted`.
962func (s *Subscription) GetTrusted() any {

Callers 14

initTopicP2PFunction · 0.95
TopicsForUserMethod · 0.95
UsersForTopicMethod · 0.95
FindMethod · 0.95
TopicsForUserMethod · 0.95
UsersForTopicMethod · 0.95
FindMethod · 0.95
TopicsForUserMethod · 0.95
UsersForTopicMethod · 0.95
FindMethod · 0.95
TopicsForUserMethod · 0.95
UsersForTopicMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected