neededModules(forFile:)

Returns the list of modules that need to be imported for a given file based on the dependencies it has.

ProtoFileToModuleMappings.swift:129
func neededModules(forFile file: FileDescriptor) -> [String]?