SYMBOL INDEX (328 symbols across 57 files) FILE: forge.sidecar.ts function isStartScrpt (line 17) | function isStartScrpt(): boolean { function addWebpackDefine (line 21) | function addWebpackDefine( function build (line 56) | function build( function copyArtifact (line 106) | function copyArtifact( class SidecarPlugin (line 126) | class SidecarPlugin extends PluginBase { method constructor (line 129) | constructor() { method getHooks (line 135) | getHooks(): ForgeMultiHookMap { FILE: lib/gui/app/app.ts function pluralize (line 84) | function pluralize(word: string, quantity: number) { function setDrives (line 121) | function setDrives(drives: Dictionary) { function main (line 193) | async function main() { FILE: lib/gui/app/components/drive-selector/drive-selector.tsx type UsbbootDrive (line 48) | interface UsbbootDrive extends sourceDestination.UsbbootDrive { type DriverlessDrive (line 52) | interface DriverlessDrive { type Drive (line 61) | type Drive = DrivelistDrive | DriverlessDrive | UsbbootDrive; function isUsbbootDrive (line 63) | function isUsbbootDrive(drive: Drive): drive is UsbbootDrive { function isDriverlessDrive (line 67) | function isDriverlessDrive(drive: Drive): drive is DriverlessDrive { function isDrivelistDrive (line 71) | function isDrivelistDrive(drive: Drive): drive is DrivelistDrive { function badgeShadeFromStatus (line 100) | function badgeShadeFromStatus(status: string) { type DriveSelectorProps (line 139) | interface DriveSelectorProps type DriveSelectorState (line 154) | interface DriveSelectorState { function isSystemDrive (line 162) | function isSystemDrive(drive: Drive) { class DriveSelector (line 166) | class DriveSelector extends React.Component< method constructor (line 174) | constructor(props: DriveSelectorProps) { method driveShouldBeDisabled (line 264) | private driveShouldBeDisabled(drive: Drive, image?: SourceMetadata) { method getDisplayedDrives (line 273) | private getDisplayedDrives(drives: Drive[]): Drive[] { method getDisabledDrives (line 285) | private getDisabledDrives(drives: Drive[], image?: SourceMetadata): st... method renderProgress (line 291) | private renderProgress(progress: number) { method warningFromStatus (line 300) | private warningFromStatus( method renderStatuses (line 326) | private renderStatuses(drive: DrivelistDrive) { method installMissingDrivers (line 356) | private installMissingDrivers(drive: DriverlessDrive) { method componentDidMount (line 362) | componentDidMount() { method componentWillUnmount (line 376) | componentWillUnmount() { method render (line 380) | render() { FILE: lib/gui/app/components/finish/finish.tsx function restart (line 30) | function restart(goToMain: () => void) { function getSuccessBannerURL (line 42) | async function getSuccessBannerURL() { function FinishPage (line 49) | function FinishPage({ goToMain }: { goToMain: () => void }) { FILE: lib/gui/app/components/flash-another/flash-another.tsx type FlashAnotherProps (line 22) | interface FlashAnotherProps { FILE: lib/gui/app/components/flash-results/flash-results.tsx type FlashError (line 77) | interface FlashError extends Error { function formattedErrors (line 83) | function formattedErrors(errors: FlashError[]) { function getEffectiveSpeed (line 107) | function getEffectiveSpeed(results: { function FlashResults (line 120) | function FlashResults({ FILE: lib/gui/app/components/progress-button/progress-button.tsx type ProgressButtonProps (line 48) | interface ProgressButtonProps { class ProgressButton (line 82) | class ProgressButton extends React.PureComponent { method render (line 83) | public render() { FILE: lib/gui/app/components/reduced-flashing-infos/reduced-flashing-infos.tsx type ReducedFlashingInfosProps (line 25) | interface ReducedFlashingInfosProps { class ReducedFlashingInfos (line 34) | class ReducedFlashingInfos extends React.Component { type SettingsModalProps (line 54) | interface SettingsModalProps { function SettingsModal (line 69) | function SettingsModal({ toggleModal }: SettingsModalProps) { FILE: lib/gui/app/components/source-selector/source-selector.tsx function normalizeRecentUrlImages (line 78) | function normalizeRecentUrlImages(urls: any[]): URL[] { function getRecentUrlImages (line 95) | function getRecentUrlImages(): URL[] { function setRecentUrlImages (line 105) | function setRecentUrlImages(urls: URL[]) { function getState (line 130) | function getState() { function isString (line 139) | function isString(value: any): value is string { type Flow (line 269) | interface Flow { type SourceSelectorProps (line 309) | interface SourceSelectorProps { type SourceSelectorState (line 314) | interface SourceSelectorState { class SourceSelector (line 327) | class SourceSelector extends React.Component< method constructor (line 333) | constructor(props: SourceSelectorProps) { method componentDidMount (line 350) | public componentDidMount() { method componentWillUnmount (line 358) | public componentWillUnmount() { method componentDidUpdate (line 363) | public componentDidUpdate( method onSelectImage (line 377) | private async onSelectImage(_event: IpcRendererEvent, imagePath: strin... method normalizeImagePath (line 386) | public normalizeImagePath(imgPath: string) { method reselectSource (line 394) | private reselectSource() { method selectSource (line 399) | private selectSource( method handleError (line 491) | private handleError( method openImageSelector (line 508) | private async openImageSelector() { method onDrop (line 526) | private async onDrop(event: React.DragEvent) { method openURLSelector (line 533) | private openURLSelector() { method openDriveSelector (line 539) | private openDriveSelector() { method onDragOver (line 545) | private onDragOver(event: React.DragEvent) { method onDragEnter (line 550) | private onDragEnter(event: React.DragEvent) { method showSelectedImageDetails (line 555) | private showSelectedImageDetails() { method setDefaultFlowActive (line 561) | private setDefaultFlowActive(defaultFlowActive: boolean) { method closeModal (line 565) | private closeModal() { method render (line 572) | public render() { FILE: lib/gui/app/components/svg-icon/svg-icon.tsx constant DEFAULT_SIZE (line 21) | const DEFAULT_SIZE = '40px'; function tryParseSVGContents (line 27) | function tryParseSVGContents(contents?: string): string | undefined { type SVGIconProps (line 39) | interface SVGIconProps { class SVGIcon (line 56) | class SVGIcon extends React.PureComponent { method render (line 57) | public render() { FILE: lib/gui/app/components/target-selector/target-selector-button.tsx type TargetSelectorProps (line 36) | interface TargetSelectorProps { function getDriveWarning (line 46) | function getDriveWarning(status: DriveStatus) { function TargetSelectorButton (line 78) | function TargetSelectorButton(props: TargetSelectorProps) { FILE: lib/gui/app/components/target-selector/target-selector.tsx type TargetSelectorProps (line 86) | interface TargetSelectorProps { FILE: lib/gui/app/i18n.ts function langParser (line 7) | function langParser() { FILE: lib/gui/app/models/available-drives.ts function hasAvailableDrives (line 20) | function hasAvailableDrives() { function setDrives (line 24) | function setDrives(drives: any[]) { function getDrives (line 31) | function getDrives(): DrivelistDrive[] { FILE: lib/gui/app/models/flash-state.ts function resetState (line 27) | function resetState() { function isFlashing (line 37) | function isFlashing(): boolean { function setFlashingFlag (line 48) | function setFlashingFlag() { function unsetFlashingFlag (line 63) | function unsetFlashingFlag(results: { function setDevicePaths (line 77) | function setDevicePaths(devicePaths: string[]) { function addFailedDeviceError (line 84) | function addFailedDeviceError({ function setProgressState (line 113) | function setProgressState( function getFlashResults (line 140) | function getFlashResults() { function getFlashState (line 144) | function getFlashState() { function wasLastFlashCancelled (line 148) | function wasLastFlashCancelled() { function getLastFlashSourceChecksum (line 152) | function getLastFlashSourceChecksum(): string { function getLastFlashErrorCode (line 156) | function getLastFlashErrorCode() { function getFlashUuid (line 160) | function getFlashUuid() { FILE: lib/gui/app/models/leds.ts function createAnimationFunction (line 31) | function createAnimationFunction( function blink (line 41) | function blink(t: number) { function one (line 45) | function one() { type LEDColors (line 49) | type LEDColors = { type LEDAnimationFunctions (line 58) | type LEDAnimationFunctions = { type LedsState (line 71) | interface LedsState { function setLeds (line 79) | function setLeds(animation: AnimationFunction, drivesPaths: Set) { function updateLeds (line 105) | function updateLeds({ function stateObserver (line 190) | function stateObserver() { function init (line 231) | async function init(): Promise { FILE: lib/gui/app/models/selection-state.ts function selectDrive (line 26) | function selectDrive(driveDevice: string) { function toggleDrive (line 36) | function toggleDrive(driveDevice: string) { function selectSource (line 44) | function selectSource(source: SourceMetadata) { function getSelectedDevices (line 54) | function getSelectedDevices(): string[] { function getSelectedDrives (line 61) | function getSelectedDrives(): DrivelistDrive[] { function getImage (line 71) | function getImage(): SourceMetadata | undefined { function hasDrive (line 78) | function hasDrive(): boolean { function hasImage (line 85) | function hasImage(): boolean { function deselectDrive (line 92) | function deselectDrive(driveDevice: string) { function deselectImage (line 99) | function deselectImage() { function deselectAllDrives (line 106) | function deselectAllDrives() { function clear (line 113) | function clear() { function isDriveSelected (line 121) | function isDriveSelected(driveDevice: string) { FILE: lib/gui/app/models/settings.ts constant JSON_INDENT (line 27) | const JSON_INDENT = 2; constant DEFAULT_WIDTH (line 29) | const DEFAULT_WIDTH = 800; constant DEFAULT_HEIGHT (line 30) | const DEFAULT_HEIGHT = 480; function getConfigPath (line 44) | function getConfigPath() { function readConfigFile (line 49) | async function readConfigFile(filename: string): Promise<_.Dictionary = { function load (line 87) | async function load(): Promise { function set (line 95) | async function set( function get (line 113) | async function get(key: string): Promise { function getSync (line 118) | function getSync(key: string): any { function getAll (line 122) | async function getAll() { FILE: lib/gui/app/models/store.ts function verifyNoNilFields (line 31) | function verifyNoNilFields( constant DEFAULT_STATE (line 57) | const DEFAULT_STATE = Immutable.fromJS({ type Actions (line 81) | enum Actions { type Action (line 97) | interface Action { function getAvailableDrives (line 108) | function getAvailableDrives(state: typeof DEFAULT_STATE) { function storeReducer (line 115) | function storeReducer( function observe (line 537) | function observe(onChange: (state: typeof DEFAULT_STATE) => void) { FILE: lib/gui/app/modules/analytics.ts type AnalyticsPayload (line 21) | type AnalyticsPayload = _.Dictionary; function logException (line 133) | function logException(error: any) { FILE: lib/gui/app/modules/api.ts constant THREADS_PER_CPU (line 22) | const THREADS_PER_CPU = 16; function writerArgv (line 26) | async function writerArgv(): Promise { function spawnChild (line 45) | async function spawnChild( type ChildApi (line 88) | type ChildApi = { function connectToChildProcess (line 94) | async function connectToChildProcess( function spawnChildAndConnect (line 187) | async function spawnChildAndConnect({ FILE: lib/gui/app/modules/exception-reporter.ts function report (line 23) | function report(exception?: Error) { FILE: lib/gui/app/modules/image-writer.ts type FlashResults (line 28) | interface FlashResults { function performWrite (line 41) | async function performWrite( function flash (line 140) | async function flash( function cancel (line 180) | async function cancel(type: string) { FILE: lib/gui/app/modules/progress-status.ts type FlashState (line 20) | interface FlashState { function fromFlashState (line 29) | function fromFlashState({ function titleFromFlashState (line 79) | function titleFromFlashState( FILE: lib/gui/app/os/dialog.ts function mountSourceDrive (line 26) | async function mountSourceDrive() { function selectImage (line 44) | async function selectImage(): Promise { function showWarning (line 76) | async function showWarning(options: { function showError (line 113) | function showError(error: Error) { FILE: lib/gui/app/os/notification.ts function send (line 24) | async function send(title: string, body: string, icon: string) { FILE: lib/gui/app/os/open-external/services/open-external.ts function open (line 23) | async function open(url: string) { FILE: lib/gui/app/os/window-progress.ts constant INITIAL_TITLE (line 26) | const INITIAL_TITLE = document.title; function getWindowTitle (line 31) | function getWindowTitle(state?: FlashState) { function set (line 52) | function set(state: FlashState) { function clear (line 62) | function clear() { FILE: lib/gui/app/os/windows-network-drives.ts function getWmicNetworkDrivesOutput (line 33) | async function getWmicNetworkDrivesOutput(): Promise { function getWindowsNetworkDrives (line 67) | async function getWindowsNetworkDrives( function replaceWindowsNetworkDriveLetter (line 97) | async function replaceWindowsNetworkDriveLetter( FILE: lib/gui/app/pages/main/Flash.tsx constant COMPLETED_PERCENTAGE (line 41) | const COMPLETED_PERCENTAGE = 100; constant SPEED_PRECISION (line 42) | const SPEED_PRECISION = 2; function notifySuccess (line 62) | function notifySuccess( function notifyFailure (line 75) | function notifyFailure(iconPath: string, basename: string, drives: any) { function flashImageToDrive (line 83) | async function flashImageToDrive( type FlashStepProps (line 142) | interface FlashStepProps { type DriveWithWarnings (line 157) | interface DriveWithWarnings extends constraints.DrivelistDrive { type FlashStepState (line 161) | interface FlashStepState { class FlashStep (line 169) | class FlashStep extends React.PureComponent< method constructor (line 173) | constructor(props: FlashStepProps) { method handleWarningResponse (line 184) | private async handleWarningResponse(shouldContinue: boolean) { method handleFlashErrorResponse (line 198) | private handleFlashErrorResponse(shouldRetry: boolean) { method hasListWarnings (line 206) | private hasListWarnings(drives: any[]) { method tryFlash (line 213) | private async tryFlash() { method render (line 253) | public render() { FILE: lib/gui/app/pages/main/MainPage.tsx function getDrivesTitle (line 57) | function getDrivesTitle() { function getImageBasename (line 71) | function getImageBasename(image?: SourceMetadata) { constant ANALYTICS_ALERT_VISIBILITY_KEY (line 103) | const ANALYTICS_ALERT_VISIBILITY_KEY = 'analytics_alert_visible'; type MainPageStateFromStore (line 105) | interface MainPageStateFromStore { type MainPageState (line 116) | interface MainPageState { class MainPage (line 124) | class MainPage extends React.Component< method constructor (line 128) | constructor(props: object) { method stateHelper (line 140) | private stateHelper(): MainPageStateFromStore { method getFeaturedProjectURL (line 154) | private async getFeaturedProjectURL() { method componentDidMount (line 171) | public async componentDidMount() { method componentDidUpdate (line 178) | public componentDidUpdate( method renderMain (line 189) | private renderMain() { method renderSuccess (line 323) | private renderSuccess() { method render (line 334) | public render() { FILE: lib/gui/app/preload.ts type Window (line 7) | interface Window { FILE: lib/gui/app/styled-components.tsx type GenericTableProps (line 243) | interface GenericTableProps extends BaseTableProps { function GenericTable (line 251) | function GenericTable( function StyledTable (line 261) | function StyledTable() { FILE: lib/gui/app/utils/etcher-pro-specific.ts type BalenaTag (line 19) | type BalenaTag = { class EtcherPro (line 25) | class EtcherPro { method constructor (line 31) | constructor(supervisorAddr: string, supervisorKey: string) { method get_tags (line 39) | async get_tags(): Promise> { method get_serial (line 56) | public get_serial(): string | undefined { function etcherProInfo (line 65) | function etcherProInfo(): EtcherPro | undefined { FILE: lib/gui/app/utils/middle-ellipsis.ts function middleEllipsis (line 21) | function middleEllipsis(input: string, limit: number): string { FILE: lib/gui/etcher.ts function checkForUpdates (line 53) | async function checkForUpdates(interval: number) { function logMainProcessException (line 75) | function logMainProcessException(error: any) { function isFile (line 83) | async function isFile(filePath: string): Promise { function getCommandLineURL (line 93) | async function getCommandLineURL(argv: string[]): Promise { FILE: lib/gui/menu.ts function buildWindowMenu (line 25) | function buildWindowMenu(window: electron.BrowserWindow) { FILE: lib/gui/webapi.ts function getEtcherUtilPath (line 11) | async function getEtcherUtilPath(): Promise { FILE: lib/shared/drive-constraints.ts constant UNKNOWN_SIZE (line 27) | const UNKNOWN_SIZE = 0; type DrivelistDrive (line 29) | type DrivelistDrive = Drive & { function isSystemDrive (line 40) | function isSystemDrive(drive: DrivelistDrive): boolean { function sourceIsInsideDrive (line 44) | function sourceIsInsideDrive(source: string, drive: DrivelistDrive) { function isSourceDrive (line 60) | function isSourceDrive( function isDriveLargeEnough (line 78) | function isDriveLargeEnough( function isDriveValid (line 110) | function isDriveValid( function isDriveSizeRecommended (line 129) | function isDriveSizeRecommended( constant LARGE_DRIVE_SIZE (line 140) | const LARGE_DRIVE_SIZE = 128e9; function isDriveSizeLarge (line 145) | function isDriveSizeLarge(drive: DrivelistDrive): boolean { constant COMPATIBILITY_STATUS_TYPES (line 156) | const COMPATIBILITY_STATUS_TYPES = { function getDriveImageCompatibilityStatuses (line 198) | function getDriveImageCompatibilityStatuses( function getListDriveImageCompatibilityStatuses (line 249) | function getListDriveImageCompatibilityStatuses( function hasDriveImageCompatibilityStatus (line 265) | function hasDriveImageCompatibilityStatus( type DriveStatus (line 275) | interface DriveStatus { FILE: lib/shared/errors.ts type ErrorWithPath (line 17) | type ErrorWithPath = Error & { constant HUMAN_FRIENDLY (line 25) | const HUMAN_FRIENDLY = { function getUserFriendlyMessageProperty (line 62) | function getUserFriendlyMessageProperty( function isBlank (line 72) | function isBlank(s: string | number | null | undefined) { function getTitle (line 86) | function getTitle(error: ErrorWithPath): string { function getDescription (line 108) | function getDescription( function createError (line 127) | function createError(options: { function createUserError (line 164) | function createUserError(options: { function toJSON (line 191) | function toJSON( function fromJSON (line 221) | function fromJSON(json: any): Error { FILE: lib/shared/exit-codes.ts constant SUCCESS (line 17) | const SUCCESS = 0; constant GENERAL_ERROR (line 18) | const GENERAL_ERROR = 1; constant VALIDATION_ERROR (line 19) | const VALIDATION_ERROR = 2; constant CANCELLED (line 20) | const CANCELLED = 3; FILE: lib/shared/permissions.ts constant UNIX_SUPERUSER_USER_ID (line 33) | const UNIX_SUPERUSER_USER_ID = 0; function commandWithEnv (line 38) | function commandWithEnv( function isElevated (line 61) | async function isElevated(): Promise { function isElevatedUnixSync (line 82) | function isElevatedUnixSync(): boolean { function elevateCommand (line 86) | async function elevateCommand( FILE: lib/shared/sudo/darwin.ts constant SUCCESSFUL_AUTH_MARKER (line 22) | const SUCCESSFUL_AUTH_MARKER = 'AUTHENTICATION SUCCEEDED'; function getAskPassScriptPath (line 24) | function getAskPassScriptPath(lang: string): string { function sudo (line 33) | async function sudo( FILE: lib/shared/sudo/linux.ts constant SUCCESSFUL_AUTH_MARKER (line 20) | const SUCCESSFUL_AUTH_MARKER = 'AUTHENTICATION SUCCEEDED'; function checkLinuxBinary (line 23) | function checkLinuxBinary() { function escapeDoubleQuotes (line 43) | function escapeDoubleQuotes(escapeString: string) { function sudo (line 47) | async function sudo( FILE: lib/shared/sudo/windows.ts function sudo (line 19) | async function sudo( FILE: lib/shared/supported-formats.ts constant SUPPORTED_EXTENSIONS (line 19) | const SUPPORTED_EXTENSIONS = [ function looksLikeWindowsImage (line 38) | function looksLikeWindowsImage(imagePath: string): boolean { FILE: lib/shared/units.ts constant MEGABYTE_TO_BYTE_RATIO (line 17) | const MEGABYTE_TO_BYTE_RATIO = 1000000; function bytesToMegabytes (line 19) | function bytesToMegabytes(bytes: number): number { FILE: lib/shared/utils.ts function isValidPercentage (line 19) | function isValidPercentage(percentage: any): boolean { function percentageToFloat (line 23) | function percentageToFloat(percentage: any) { function delay (line 32) | async function delay(duration: number): Promise { function isJson (line 38) | function isJson(jsonString: string) { FILE: lib/util/api.ts function injectEnvFromArgs (line 33) | function injectEnvFromArgs() { constant ETCHER_SERVER_ADDRESS (line 54) | const ETCHER_SERVER_ADDRESS = process.env.ETCHER_SERVER_ADDRESS as string; constant ETCHER_SERVER_PORT (line 55) | const ETCHER_SERVER_PORT = process.env.ETCHER_SERVER_PORT as string; constant ETCHER_TERMINATE_TIMEOUT (line 58) | const ETCHER_TERMINATE_TIMEOUT: number = parseInt( function terminate (line 81) | async function terminate(exitCode?: number) { function setTerminateTimeout (line 89) | function setTerminateTimeout() { type EmitLog (line 114) | interface EmitLog { function setup (line 119) | function setup(): Promise { FILE: lib/util/child-writer.ts function write (line 44) | async function write(options: WriteOptions) { function cleanup (line 135) | async function cleanup(until: number) { function writeAndValidate (line 149) | async function writeAndValidate({ FILE: lib/util/scanner.ts function hasAvailableDrives (line 11) | function hasAvailableDrives() { function setDrives (line 25) | function setDrives(drives: Dictionary) { function getDrives (line 30) | function getDrives() { function addDrive (line 34) | async function addDrive(drive: Drive) { function removeDrive (line 45) | function removeDrive(drive: Drive) { function driveIsAllowed (line 52) | async function driveIsAllowed(drive: { type Drive (line 66) | type Drive = function prepareDrive (line 71) | function prepareDrive(drive: Drive) { constant USB_ID_RADIX (line 123) | const USB_ID_RADIX = 16; constant USB_ID_LENGTH (line 128) | const USB_ID_LENGTH = 4; function usbIdToString (line 137) | function usbIdToString(id: number): string { function updateDriveProgress (line 141) | function updateDriveProgress( constant USB_PRODUCT_ID_BCM2708_BOOT (line 159) | const USB_PRODUCT_ID_BCM2708_BOOT = 0x2763; constant USB_PRODUCT_ID_BCM2710_BOOT (line 164) | const USB_PRODUCT_ID_BCM2710_BOOT = 0x2764; constant COMPUTE_MODULE_DESCRIPTIONS (line 169) | const COMPUTE_MODULE_DESCRIPTIONS: Dictionary = { FILE: lib/util/source-metadata.ts function isString (line 17) | function isString(value: any): value is string { function createSource (line 21) | async function createSource( function getMetadata (line 49) | async function getMetadata( function getSourceMetadata (line 68) | async function getSourceMetadata( FILE: lib/util/types/types.d.ts type WriteResult (line 5) | interface WriteResult { type FlashError (line 15) | interface FlashError extends Error { type FlashResults (line 21) | interface FlashResults extends WriteResult { type WriteOptions (line 26) | interface WriteOptions { FILE: tests/gui/models/settings.spec.ts function checkError (line 22) | async function checkError(promise: Promise, fn: (err: Error) => any) { FILE: tests/gui/os/windows-network-drives.spec.ts function mockGetWmicOutput (line 25) | function mockGetWmicOutput() {