Skip to main content

Function: setLoadedFitFilePath()

function setLoadedFitFilePath(
filePath: string | null,
options?: StateUpdateOptions
): void;

Defined in: main/state/appState.ts:231

Sets or clears the currently loaded FIT file path tracked by the main process.

Parameters​

filePath​

string | null

Approved loaded FIT file path, or null when cleared.

options?​

StateUpdateOptions

Additional metadata forwarded to the state manager.

Returns​

void