MCPcopy Index your code
hub / github.com/coder/coder / chatIDSet

Function chatIDSet

coderd/exp_chats_acl_test.go:511–517  ·  view source on GitHub ↗
(chats []codersdk.Chat)

Source from the content-addressed store, hash-verified

509}
510
511func chatIDSet(chats []codersdk.Chat) map[uuid.UUID]struct{} {
512 ids := make(map[uuid.UUID]struct{}, len(chats))
513 for _, chat := range chats {
514 ids[chat.ID] = struct{}{}
515 }
516 return ids
517}

Callers 2

TestChatSharingDisabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected