MCPcopy Create free account

hub / github.com/balena-io/etcher / functions

Functions286 in github.com/balena-io/etcher

↓ 22 callersMethodselectSource
( selected: string | DrivelistDrive, SourceType: Source, auth?: Authentication, )
lib/gui/app/components/source-selector/source-selector.tsx:399
↓ 14 callersFunctionlog
* @summary Print logs and send them back to client
lib/util/api.ts:135
↓ 14 callersFunctionmiddleEllipsis
(input: string, limit: number)
lib/gui/app/utils/middle-ellipsis.ts:21
↓ 12 callersFunctionsetLeds
(animation: AnimationFunction, drivesPaths: Set<string>)
lib/gui/app/models/leds.ts:79
↓ 10 callersFunctionemit
* @summary Send a message to the IPC server
lib/util/api.ts:127
↓ 10 callersFunctionexpectStatusTypesAndMessagesToBe
( resultList: Array<{ message: string }>, expectedTuples: Array<['WARNING' | 'ERROR', string]>, param
tests/shared/drive-constraints.spec.ts:895
↓ 9 callersFunctionterminate
(exitCode?: number)
lib/util/api.ts:81
↓ 7 callersFunctioncreateAnimationFunction
( intensityFunction: (t: number) => number, color: Color, )
lib/gui/app/models/leds.ts:31
↓ 7 callersFunctiongetSelectedDrives
()
lib/gui/app/models/selection-state.ts:61
↓ 7 callersFunctionregisterHandler
(event: string, handler: any)
lib/gui/app/modules/api.ts:180
↓ 6 callersFunctionemit
(type: string, payload: any)
lib/gui/app/modules/api.ts:137
↓ 6 callersFunctiongetDrives
()
lib/gui/app/models/available-drives.ts:31
↓ 6 callersFunctiongetImage
()
lib/gui/app/models/selection-state.ts:71
↓ 6 callersFunctionisDrivelistDrive
(drive: Drive)
lib/gui/app/components/drive-selector/drive-selector.tsx:71
↓ 6 callersMethodsetDefaultFlowActive
(defaultFlowActive: boolean)
lib/gui/app/components/source-selector/source-selector.tsx:561
↓ 5 callersFunctiongetDriveImageCompatibilityStatuses
( drive: DrivelistDrive, image: SourceMetadata | undefined, write: boolean, )
lib/shared/drive-constraints.ts:198
↓ 5 callersFunctionobserve
(onChange: (state: typeof DEFAULT_STATE) => void)
lib/gui/app/models/store.ts:537
↓ 4 callersFunctionbytesToMegabytes
(bytes: number)
lib/shared/units.ts:19
↓ 4 callersFunctionfinish
()
lib/gui/app/modules/image-writer.ts:91
↓ 4 callersFunctiongetSelectedDevices
()
lib/gui/app/models/selection-state.ts:54
↓ 4 callersFunctionisBlank
(s: string | number | null | undefined)
lib/shared/errors.ts:72
↓ 4 callersFunctionisStartScrpt
()
forge.sidecar.ts:17
↓ 3 callersFunctionclearUserPath
(filename: string)
lib/gui/app/modules/analytics.ts:23
↓ 3 callersFunctiondeselectAllDrives
()
lib/gui/app/models/selection-state.ts:106
↓ 3 callersFunctiondeselectDrive
(driveDevice: string)
lib/gui/app/models/selection-state.ts:92
↓ 3 callersFunctiongetDrives
()
lib/util/scanner.ts:30
↓ 3 callersFunctiongetFlashResults
()
lib/gui/app/models/flash-state.ts:140
↓ 3 callersFunctionisDriverlessDrive
(drive: Drive)
lib/gui/app/components/drive-selector/drive-selector.tsx:67
↓ 3 callersFunctionisJson
(jsonString: string)
lib/shared/utils.ts:38
↓ 3 callersFunctionisSourceDrive
( drive: DrivelistDrive, selection?: SourceMetadata, )
lib/shared/drive-constraints.ts:60
↓ 3 callersFunctionisUsbbootDrive
(drive: Drive)
lib/gui/app/components/drive-selector/drive-selector.tsx:63
↓ 3 callersFunctionlogMainProcessException
(error: any)
lib/gui/etcher.ts:75
↓ 3 callersFunctionnormalizeRecentUrlImages
(urls: any[])
lib/gui/app/components/source-selector/source-selector.tsx:78
↓ 3 callersFunctionselectDrive
(driveDevice: string)
lib/gui/app/models/selection-state.ts:26
↓ 3 callersFunctionselectImageURL
(url?: string)
lib/gui/etcher.ts:132
↓ 3 callersFunctionsetDrives
(drives: Dictionary<DrivelistDrive>)
lib/util/scanner.ts:25
↓ 2 callersFunctioncheckError
(promise: Promise<any>, fn: (err: Error) => any)
tests/gui/models/settings.spec.ts:22
↓ 2 callersFunctioncleanup
(until: number)
lib/util/child-writer.ts:135
↓ 2 callersMethodcloseModal
()
lib/gui/app/components/source-selector/source-selector.tsx:565
↓ 2 callersFunctioncommandWithEnv
( command: string[], env: _.Dictionary<string | undefined>, )
lib/shared/permissions.ts:38
↓ 2 callersMethoddriveShouldBeDisabled
(drive: Drive, image?: SourceMetadata)
lib/gui/app/components/drive-selector/drive-selector.tsx:264
↓ 2 callersFunctionflashImageToDrive
( isFlashing: boolean, goToSuccess: () => void, )
lib/gui/app/pages/main/Flash.tsx:83
↓ 2 callersFunctionfromFlashState
({ type, percentage, position, }: Pick<FlashState, 'type' | 'percentage' | 'position'>)
lib/gui/app/modules/progress-status.ts:29
↓ 2 callersFunctiongetAvailableDrives
* @summary Get available drives from the state * * @param {Object} state - state object * @returns {Object} new state
lib/gui/app/models/store.ts:108
↓ 2 callersFunctiongetCommandLineURL
(argv: string[])
lib/gui/etcher.ts:93
↓ 2 callersFunctiongetConfigPath
* @summary Userdata directory path * @description * Defaults to the following: * - `%APPDATA%/etcher` on Windows * - `$XDG_CONFIG_HOME/etcher` or
lib/gui/app/models/settings.ts:44
↓ 2 callersFunctiongetDriveListLabel
()
lib/gui/app/components/target-selector/target-selector.tsx:38
↓ 2 callersFunctiongetDriveSelectionStateSlice
()
lib/gui/app/components/target-selector/target-selector.tsx:46
↓ 2 callersFunctiongetState
()
lib/gui/app/components/source-selector/source-selector.tsx:130
↓ 2 callersFunctiongetUserFriendlyMessageProperty
* @summary Get user friendly property from an error * * @example * const error = new Error('My error'); * error.code = 'ENOMEM'; * * const frien
lib/shared/errors.ts:62
↓ 2 callersFunctiongetWindowTitle
* @summary Make the full window status title
lib/gui/app/os/window-progress.ts:31
↓ 2 callersMethodget_serial
()
lib/gui/app/utils/etcher-pro-specific.ts:56
↓ 2 callersMethodhandleError
( title: string, sourcePath: string, description: string, error?: Error, )
lib/gui/app/components/source-selector/source-selector.tsx:491
↓ 2 callersMethodhandleFlashErrorResponse
(shouldRetry: boolean)
lib/gui/app/pages/main/Flash.tsx:198
↓ 2 callersMethodhandleWarningResponse
(shouldContinue: boolean)
lib/gui/app/pages/main/Flash.tsx:184
↓ 2 callersFunctionhasAvailableDrives
()
lib/gui/app/models/available-drives.ts:20
↓ 2 callersFunctionisDriveLargeEnough
( drive: DrivelistDrive, image?: SourceMetadata, )
lib/shared/drive-constraints.ts:78
↓ 2 callersFunctionisDriveSelected
(driveDevice: string)
lib/gui/app/models/selection-state.ts:121
↓ 2 callersFunctionisDriveSizeLarge
(drive: DrivelistDrive)
lib/shared/drive-constraints.ts:145
↓ 2 callersFunctionisString
(value: any)
lib/gui/app/components/source-selector/source-selector.tsx:139
↓ 2 callersFunctionisString
(value: any)
lib/util/source-metadata.ts:17
↓ 2 callersFunctionisURL
(imagePath: string)
lib/gui/app/components/source-selector/source-selector.tsx:110
↓ 2 callersFunctionlangParser
()
lib/gui/app/i18n.ts:7
↓ 2 callersFunctionlogException
(error: any)
lib/gui/app/modules/analytics.ts:133
↓ 2 callersMethodnormalizeImagePath
(imgPath: string)
lib/gui/app/components/source-selector/source-selector.tsx:386
↓ 2 callersFunctionnotifyFailure
(iconPath: string, basename: string, drives: any)
lib/gui/app/pages/main/Flash.tsx:75
↓ 2 callersFunctionpluralize
(word: string, quantity: number)
lib/gui/app/app.ts:84
↓ 2 callersFunctionprepareDrive
(drive: Drive)
lib/util/scanner.ts:71
↓ 2 callersMethodreselectSource
()
lib/gui/app/components/source-selector/source-selector.tsx:394
↓ 2 callersFunctionselectAllTargets
(modalTargets: DrivelistDrive[])
lib/gui/app/components/target-selector/target-selector.tsx:70
↓ 2 callersFunctionsetTerminateTimeout
()
lib/util/api.ts:89
↓ 2 callersFunctionspawnChildAndConnect
({ withPrivileges, }: { withPrivileges: boolean; })
lib/gui/app/modules/api.ts:187
↓ 2 callersMethodstateHelper
()
lib/gui/app/pages/main/MainPage.tsx:140
↓ 2 callersFunctionstopHeartbeat
()
lib/gui/app/modules/api.ts:118
↓ 2 callersFunctiontoJSON
( error: Error & { description?: string; report?: boolean; code?: string; syscall?: string; errno?:
lib/shared/errors.ts:191
↓ 2 callersFunctionusbIdToString
* @summary Convert a USB id (e.g. product/vendor) to a string * * @example * console.log(usbIdToString(2652)) * > '0x0a5c'
lib/util/scanner.ts:137
↓ 2 callersFunctionverifyNoNilFields
* @summary Verify and throw if any state fields are nil
lib/gui/app/models/store.ts:31
↓ 2 callersFunctionwrite
(options: WriteOptions)
lib/util/child-writer.ts:44
↓ 1 callersFunctionStyledTable
()
lib/gui/app/styled-components.tsx:261
↓ 1 callersFunctionaddDrive
(drive: Drive)
lib/util/scanner.ts:34
↓ 1 callersFunctionaddWebpackDefine
( config: ResolvedForgeConfig, defineName: string, binDir: string, binName: string, )
forge.sidecar.ts:21
↓ 1 callersFunctionanonymizePath
(input: string)
lib/gui/app/modules/analytics.ts:55
↓ 1 callersFunctionbadgeShadeFromStatus
(status: string)
lib/gui/app/components/drive-selector/drive-selector.tsx:100
↓ 1 callersFunctionbuild
( sourcesDir: string, buildForArchs: string, binDir: string, binName: string, )
forge.sidecar.ts:56
↓ 1 callersFunctionbuildWindowMenu
(window: electron.BrowserWindow)
lib/gui/menu.ts:25
↓ 1 callersFunctioncancel
(type: string)
lib/gui/app/modules/image-writer.ts:180
↓ 1 callersFunctionchangeHandler
()
lib/gui/app/models/store.ts:543
↓ 1 callersFunctioncheckForUpdates
(interval: number)
lib/gui/etcher.ts:53
↓ 1 callersFunctioncheckLinuxBinary
Check for kdesudo or pkexec
lib/shared/sudo/linux.ts:23
↓ 1 callersFunctionconnectToChildProcess
( etcherServerAddress: string, etcherServerPort: string, etcherServerId: string, )
lib/gui/app/modules/api.ts:94
↓ 1 callersFunctioncopyArtifact
( buildPath: string, arch: string, binDir: string, binName: string, )
forge.sidecar.ts:106
↓ 1 callersFunctioncreateError
(options: { title: string; description?: string; report?: boolean; code?: keyof typeof HUMAN_FRIENDLY; })
lib/shared/errors.ts:127
↓ 1 callersFunctioncreateMainWindow
()
lib/gui/etcher.ts:151
↓ 1 callersFunctioncreateSource
( selected: string, SourceType: Source, auth?: Authentication, )
lib/util/source-metadata.ts:21
↓ 1 callersFunctiondelay
(duration: number)
lib/shared/utils.ts:32
↓ 1 callersFunctiondeselectImage
()
lib/gui/app/models/selection-state.ts:99
↓ 1 callersFunctiondriveIsAllowed
(drive: { devicePath: string; device: string; raw: string; })
lib/util/scanner.ts:52
↓ 1 callersFunctionescapeDoubleQuotes
(escapeString: string)
lib/shared/sudo/linux.ts:43
↓ 1 callersFunctionetcherProInfo
()
lib/gui/app/utils/etcher-pro-specific.ts:65
↓ 1 callersFunctionfetchRecentUrlImages
()
lib/gui/app/components/source-selector/source-selector.tsx:157
next →1–100 of 286, ranked by callers