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

Method optionsForFile

server.py:164–169  ·  view source on GitHub ↗
(self, uri)

Source from the content-addressed store, hash-verified

162 return None
163
164 def optionsForFile(self, uri):
165 file_path = uri2realpath(uri)
166 flags = GetFlags(file_path, self.compile_file, store=self.store)
167 if not flags and file_path.endswith(".swift"):
168 flags = InferFlagsForSwift(file_path, self.compile_file, store=self.store)
169 return self.optionsForFlags(flags)
170
171 def optionsForFlags(self, flags):
172 if flags is None:

Callers 1

notify_option_changedMethod · 0.95

Calls 4

optionsForFlagsMethod · 0.95
GetFlagsFunction · 0.90
InferFlagsForSwiftFunction · 0.90
uri2realpathFunction · 0.85

Tested by

no test coverage detected