MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / _notify_option_changed

Method _notify_option_changed

server.py:187–199  ·  view source on GitHub ↗
(self, uri, options)

Source from the content-addressed store, hash-verified

185 self._notify_option_changed(uri, self.optionsForFile(uri))
186
187 def _notify_option_changed(self, uri, options):
188 # empty options is nouse and lsp will stop working.., at least there should has a infer flags..
189 if options is None:
190 return
191 notification = {
192 "jsonrpc": "2.0",
193 "method": "build/sourceKitOptionsChanged",
194 "params": {
195 "uri": uri,
196 "updatedOptions": options,
197 },
198 }
199 send(notification)
200
201 def shutdown(self):
202 self.observed_thread = None # release to end in subthread

Callers 2

register_uriMethod · 0.95
notify_option_changedMethod · 0.95

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected