MCPcopy Create free account

hub / github.com/ipfs/ipfs-desktop / functions

Functions175 in github.com/ipfs/ipfs-desktop

↓ 22 callersMethodgetFn
* A simple helper to improve DX and UX when calling functions. * * This function allows you to request a function from AppContext without blocki
src/context.js:99
↓ 20 callersMethodsetProp
* Set the value of a property to a value. * This method supports overwriting values. * * @template T * @param {ContextProperties} property
src/context.js:56
↓ 13 callersFunctiongenerateErrorIssueUrl
(e)
src/dialogs/errors.js:81
↓ 13 callersMethodgetProp
* Get the value of a property wrapped in a promise. * @template T * @param {ContextProperties} propertyName * @returns {Promise<T>}
src/context.js:76
↓ 13 callersFunctionmakeRepository
({ start = false })
test/e2e/utils/ipfsd.js:19
↓ 13 callersFunctionstartApp
* * @param {Object} [param0] * @param {string} param0.repoPath * @returns {Promise<{ app: Awaited<ReturnType<import('playwright')._electron['
test/e2e/launch.e2e.test.js:56
↓ 12 callersFunctiondaemonReady
* * @param {Awaited<ReturnType<import('playwright')._electron['launch']>>} app * @returns {Promise<{ peerId: string }>
test/e2e/launch.e2e.test.js:77
↓ 12 callersFunctiontestGetAndSet
(ctx, propertyName, value)
test/unit/context.spec.js:9
↓ 9 callersFunctiongetIpfsd
(optional = false)
src/daemon/index.js:23
↓ 7 callersFunctionbuildCheckbox
(key, label)
src/tray.js:125
↓ 7 callersFunctionquoteDesktopEntryArg
(value)
src/auto-launch.js:30
↓ 7 callersFunctionupdateStatus
(stat, id = null)
src/daemon/index.js:18
↓ 7 callersFunctionwithEnv
({ execPath, appPath }, fn)
test/unit/auto-launch.spec.js:21
↓ 6 callersFunctionhide
()
src/utils/dock.js:7
↓ 6 callersFunctionkuboApiPost
(ipfsd, apiPath)
src/common/kubo-rpc.js:6
↓ 5 callersFunctiondecodeBody
(url)
test/unit/errors.spec.js:27
↓ 5 callersFunctionexecLog
(cmd)
pkgs/macos/build-universal-kubo-binary.js:8
↓ 5 callersFunctionhideOtherWindows
()
src/daemon/dialogs.js:5
↓ 5 callersFunctionpad
src/take-screenshot.js:74
↓ 5 callersFunctionsendVisibilityChange
(isVisible)
src/webui/index.js:125
↓ 5 callersFunctionstartIpfs
()
src/daemon/index.js:40
↓ 5 callersFunctionstopIpfs
()
src/daemon/index.js:74
↓ 4 callersFunctionfindFreePort
(port)
src/daemon/config.js:303
↓ 4 callersFunctiongetConfigFilePath
* Get repository configuration file path. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {string} config file path
src/daemon/config.js:17
↓ 4 callersFunctiongetKuboRepositoryPath
()
src/tray.js:535
↓ 4 callersFunctiongetPort
(port)
test/e2e/launch.e2e.test.js:10
↓ 4 callersFunctionhasCustomBinary
()
src/custom-ipfs-binary.js:83
↓ 4 callersFunctionhideWindowsAndShowDialog
* Show the dialog with the text from the i18nKey, using the * options opts. * * @param {string} i18nKey * @param {any} opts
src/daemon/dialogs.js:100
↓ 4 callersFunctionparseMultiaddr
* Parses multiaddr from the configuration. * * @param {string} addr * @returns {import('multiaddr').Multiaddr}
src/daemon/config.js:115
↓ 4 callersFunctionreadConfigFile
* Reads the repository configuration file. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {any} the configuration
src/daemon/config.js:67
↓ 4 callersFunctionrestartIpfs
()
src/daemon/index.js:101
↓ 4 callersFunctionshow
()
src/utils/dock.js:3
↓ 3 callersFunctioncheckIfAddrIsDaemon
* Checks if the given address is a daemon address. * * @param {{ family: 4 | 6, address: string, port: number }} addr * @returns {Promise<boolean>}
src/daemon/config.js:275
↓ 3 callersFunctionconfigExists
* Checks if the repository configuration file exists. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {boolean} true if config file ex
src/daemon/config.js:37
↓ 3 callersFunctiondecodeTitle
(url)
test/unit/errors.spec.js:32
↓ 3 callersFunctiongetFixtures
(...files)
test/unit/add-to-ipfs.spec.js:12
↓ 3 callersFunctionicon
(status)
src/tray.js:361
↓ 3 callersFunctionisSet
(value)
pkgs/macos/notarize-build.js:4
↓ 3 callersFunctionloadIfChanged
(nextUrl)
src/webui/index.js:223
↓ 3 callersFunctionrecoverableErrorDialog
(e, options)
src/dialogs/errors.js:162
↓ 3 callersFunctionrun
()
src/index.js:61
↓ 3 callersFunctionrunAndStatus
(fn)
src/daemon/index.js:35
↓ 3 callersFunctiontemplate
(logs, script, title, message, buttons)
src/daemon/migration-prompt.js:9
↓ 3 callersFunctionwriteConfigFile
* Writes the repository configuration file. * * @param {import('ipfsd-ctl').Controller} ipfsd * @param {Object<string, any>} config
src/daemon/config.js:77
↓ 2 callersMethod_createDeferredForProp
* Returns the existing promise for a property if it exists. * If not, one is created and set in the `_promiseMap`, then returned * * @private
src/context.js:142
↓ 2 callersMethod_resolvePropToValue
* Gets existing promise and resolves it with the given value. * * @private * @template T * @param {ContextProperties} propertyName * @p
src/context.js:123
↓ 2 callersFunctionactivate
({ newValue, oldValue, feedback })
src/utils/setup-global-shortcut.js:12
↓ 2 callersFunctionaddAnalyticsEvent
({ withAnalytics, ...countlyOptions })
src/common/logger.js:65
↓ 2 callersFunctionaddURL
src/daemon/config.js:196
↓ 2 callersFunctionapiFileExists
* Checks if the repository api file exists. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {boolean} true if config file exists
src/daemon/config.js:47
↓ 2 callersFunctionapplyConfig
(newFlags)
src/enable-pubsub.js:27
↓ 2 callersFunctionapplyConfig
* * @param {string[]} newFlags
src/automatic-gc.js:31
↓ 2 callersFunctionapplyConfig
(newFlags)
src/enable-namesys-pubsub.js:27
↓ 2 callersFunctionapplyDefaults
* Set default minimum and maximum of connections to maintain * by default. This must only be called for repositories created * by IPFS Desktop. Exis
src/daemon/config.js:88
↓ 2 callersFunctionbuildBugReportUrl
(title, body)
src/dialogs/errors.js:58
↓ 2 callersFunctioncheckForUpdates
()
src/auto-updater/index.js:178
↓ 2 callersFunctionfetchImportConfig
(ipfsd)
src/cid-profile.js:40
↓ 2 callersFunctionfetchImportConfig
(ipfsd)
src/provide-strategy.js:56
↓ 2 callersFunctiongetApiFilePath
* Get repository api file path. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {string} api file path
src/daemon/config.js:27
↓ 2 callersFunctiongetBackgroundColor
()
src/dialogs/prompt/styles.js:87
↓ 2 callersFunctiongetDesktopFile
()
src/auto-launch.js:20
↓ 2 callersFunctiongetSecondsSinceAppStart
(currentTime = performance.now())
src/metrics/appStart.js:27
↓ 2 callersFunctionhandleOpenLink
(url)
src/protocol-handlers.js:14
↓ 2 callersFunctionisEnabled
src/enable-pubsub.js:9
↓ 2 callersFunctionisEnabled
src/automatic-gc.js:9
↓ 2 callersFunctionisEnabled
src/enable-namesys-pubsub.js:9
↓ 2 callersFunctionisSpawnedDaemonDead
(ipfsd)
src/daemon/daemon.js:138
↓ 2 callersFunctionisWebUiUrl
(value)
src/webui/index.js:182
↓ 2 callersFunctionissueTemplate
(stack)
src/dialogs/errors.js:33
↓ 2 callersFunctionnotify
(options, onClick)
src/common/notify.js:4
↓ 2 callersFunctiononSuccess
(ipfs, launchWebUI, path, img)
src/take-screenshot.js:24
↓ 2 callersFunctionopenLink
(protocol, part, base)
src/protocol-handlers.js:5
↓ 2 callersFunctionshowMigrationPrompt
* Show migration prompt. * * @param {string} logs * @param {boolean} error * @param {boolean} done * @returns {MigrationPrompt}
src/daemon/migration-prompt.js:122
↓ 2 callersFunctionstartIpfsWithLogs
* Start IPFS, collects the logs, detects errors and migrations. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {Promise<IpfsLogs>}
src/daemon/daemon.js:133
↓ 2 callersFunctiontakeScreenshot
()
src/take-screenshot.js:105
↓ 2 callersFunctionupdateLanguage
()
src/webui/index.js:286
↓ 2 callersFunctionupdateVisibility
(isVisible)
src/webui/preload.js:31
↓ 1 callersFunctionactivate
({ newValue, oldValue = null })
src/enable-pubsub.js:34
↓ 1 callersFunctionactivate
({ newValue, oldValue })
src/automatic-gc.js:38
↓ 1 callersFunctionactivate
({ newValue, oldValue = null })
src/enable-namesys-pubsub.js:34
↓ 1 callersFunctionactivate
({ newValue, oldValue, feedback })
src/auto-launch.js:78
↓ 1 callersFunctionaddFileOrDirectory
(ipfs, filepath)
src/add-to-ipfs.js:88
↓ 1 callersFunctionalreadyInstalled
()
scripts/ensure-electron.js:50
↓ 1 callersFunctionapplyCidProfile
(ipfsd, profileName)
src/cid-profile.js:83
↓ 1 callersFunctionapplyProvideStrategy
(ipfsd, name)
src/provide-strategy.js:95
↓ 1 callersFunctionargvHandler
(argv)
src/protocol-handlers.js:32
↓ 1 callersFunctionargvHandler
(argv)
src/argv-files-handler.js:4
↓ 1 callersFunctionbeforeQuitCleanup
()
src/auto-updater/index.js:163
↓ 1 callersFunctionbuildCidProfileSubmenu
()
src/tray.js:78
↓ 1 callersFunctionbuildMenu
* Note: This method needs to be called any time the menu item labels need updated. i.e. when the language changes. * @returns {Promise<Omit<Electron.
src/tray.js:143
↓ 1 callersFunctionbuildProvideStrategySubmenu
()
src/tray.js:31
↓ 1 callersFunctioncheckPorts
* Check if ports are available and handle it. Returns * true if ports are cleared for IPFS to start. * * @param {import('ipfsd-ctl').Controller} ip
src/daemon/config.js:354
↓ 1 callersFunctioncheckPortsArray
* Check if all the ports in the array are available. * * @param {import('ipfsd-ctl').Controller} ipfsd * @param {string[]} addrs * @returns {Promi
src/daemon/config.js:315
↓ 1 callersFunctioncheckRepositoryAndConfiguration
* Checks if the repository and the configuration file are valid. * * @param {import('ipfsd-ctl').Controller} ipfsd * @returns {boolean}
src/daemon/config.js:440
↓ 1 callersFunctionclearCustomBinary
()
src/custom-ipfs-binary.js:63
↓ 1 callersFunctioncopyFileToMfs
(ipfs, cid, filename)
src/add-to-ipfs.js:12
↓ 1 callersFunctioncreateWindow
()
src/webui/index.js:30
↓ 1 callersFunctioncriticalErrorDialog
* This will fail and throw another application error if electron hasn't booted up properly. * @param {Error} e * @returns
src/dialogs/errors.js:135
↓ 1 callersFunctiondetectCurrentProfile
(importSection)
src/cid-profile.js:61
↓ 1 callersFunctiondetectCurrentStrategy
(provideStrategy, importSection)
src/provide-strategy.js:69
next →1–100 of 175, ranked by callers