MCPcopy Create free account
hub / github.com/github/copilot-sdk / getPermissionHandler

Method getPermissionHandler

go/session.go:610–614  ·  view source on GitHub ↗

getPermissionHandler returns the currently registered permission handler, or nil.

()

Source from the content-addressed store, hash-verified

608
609// getPermissionHandler returns the currently registered permission handler, or nil.
610func (s *Session) getPermissionHandler() PermissionHandlerFunc {
611 s.permissionMux.RLock()
612 defer s.permissionMux.RUnlock()
613 return s.permissionHandler
614}
615
616// registerUserInputHandler registers a user input handler for this session.
617//

Callers 1

handleBroadcastEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected