Method

FoundryDiagnosticManagerdiagnose

Declaration [src]

DexFuture*
foundry_diagnostic_manager_diagnose (
  FoundryDiagnosticManager* self,
  GFile* file
)

Description [src]

Diagnoses file using the loaded diagnostic providers and produces a DexFuture that will resolve to a GListModel of FoundryDiagnostic.

The resulting GListModel is a FoundryFutureListModel which can be awaited for the completion of all diagnostic providers using foundry_future_list_model_await().

Parameters

file

Type: GFile

A GFile.

The data is owned by the caller of the method.

Return value

The caller of the method takes ownership of the returned data, and is responsible for freeing it.