MCPcopy Create free account

hub / github.com/ProtonDriveApps/sdk / functions

Functions3,221 in github.com/ProtonDriveApps/sdk

↓ 2 callersFunctionimageFromPath
(localPath: string)
cli/src/commands/fileSystem/generateThumbnails.ts:57
↓ 2 callersFunctioninit
(configOptions: InitConfig)
cli/src/init.ts:19
↓ 2 callersMethodinit
()
client/js/src/internal/sharingPublic/session/session.ts:32
↓ 2 callersFunctioninitNodesModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/nodes/index.ts:32
↓ 2 callersFunctioninitSharesModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/shares/index.ts:27
↓ 2 callersFunctioninitSharingModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/sharing/index.ts:24
↓ 2 callersMethodinternalDownloadToStream
( stream: WritableStream, onProgress?: (downloadedBytes: number) => void, ignoreIntegr
client/js/src/internal/download/fileDownloader.ts:175
↓ 2 callersMethodisDownloadCompleteWithSignatureIssues
* The download can throw at completion() call, but the download is still * completed. The client is responsible for showing warning to the user
client/js/src/interface/download.ts:79
↓ 2 callersFunctionisEexistError
(error: unknown)
cli/src/commands/fileSystem/commandFileSystemDownload.ts:348
↓ 2 callersMethodisEnabled
(flagName: FeatureFlags, signal?: AbortSignal)
client/js/src/interface/featureFlags.ts:6
↓ 2 callersMethodisJailed
()
cli/src/telemetry/metrics/lib/requestService.ts:56
↓ 2 callersFunctionisRecoverableReplError
(error: unknown)
cli/src/cli/errors.ts:21
↓ 2 callersFunctionisUpdateNeeded
(clientVersion: string, minVersion: string)
cli/src/api/apiRequirements.ts:90
↓ 2 callersMethoditerateAlbumUids
(signal?: AbortSignal)
client/js/src/internal/photos/albumsManager.ts:52
↓ 2 callersMethoditerateDevices
* Iterates the devices of the user. * * The output is not sorted and the order of the devices is not guaranteed. * * New devices c
client/js/src/protonDriveClient.ts:1113
↓ 2 callersMethoditerateEvents
()
client/js/src/diagnostic/eventsGenerator.ts:20
↓ 2 callersMethoditerateItemsWithErrorHandling
(items: ID[])
client/js/src/internal/batchLoading.ts:83
↓ 2 callersMethoditerateNodesAndIgnoreMissingOnes
( nodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/sharing/sharingAccess.ts:116
↓ 2 callersMethoditerateSharedNodesFromAPI
( nodeUidsIterator: AsyncGenerator<string>, setCache: (nodeUids: string[]) => Promise<void>,
client/js/src/internal/sharing/sharingAccess.ts:96
↓ 2 callersMethoditerateSharedNodesFromCache
( nodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/sharing/sharingAccess.ts:82
↓ 2 callersMethoditerateSharedNodesWithMe
* Iterates the nodes shared with the user. * * The output is not sorted and the order of the shared nodes is not guaranteed. * * C
client/js/src/protonDriveClient.ts:800
↓ 2 callersMethoditerateSharedNodesWithMe
* @deprecated Use `iterateSharedWithMeNodeUids` instead.
client/js/src/internal/sharing/sharingAccess.ts:68
↓ 2 callersMethoditerateTrashedNodeUids
* Iterates the UIDs of the trashed nodes. * * The output is not sorted and the order of the UIDs is not guaranteed. * * @param sig
client/js/src/protonDriveClient.ts:462
↓ 2 callersFunctionlinkToEncryptedNodeBaseMetadata
( logger: Logger, volumeId: string, link: Pick<PostLoadLinksMetadataResponse['Links'][0], 'Link' |
client/js/src/internal/nodes/apiService.ts:763
↓ 2 callersMethodloadVerificationDataForExistingSmallFile
(nodeUid: string, nodeKey: PrivateKey)
client/js/src/internal/upload/blockVerifier.ts:54
↓ 2 callersMethodloadVerificationDataForNewSmallFile
(nodeKey: PrivateKey, contentKeyPacket: Uint8Array<ArrayBuffer>)
client/js/src/internal/upload/blockVerifier.ts:46
↓ 2 callersFunctionmakeDeviceUid
(deviceId: string)
client/js/src/internal/uids.ts:1
↓ 2 callersFunctionmakeMemberUid
(shareId: string, memberId: string)
client/js/src/internal/uids.ts:50
↓ 2 callersFunctionmakePublicLinkUid
(shareId: string, publicLinkId: string)
client/js/src/internal/uids.ts:59
↓ 2 callersMethodmakeStorageRequest
( method: 'GET' | 'POST', url: string, token: string, body?: XMLHttpRequestBod
client/js/src/internal/apiService/apiService.ts:233
↓ 2 callersFunctionmockFileLstatResult
(dev = 100)
cli/src/commands/fileSystem/transferQueue.test.ts:35
↓ 2 callersFunctionmockFileMaybe
(name: string, uid: string)
cli/src/commands/fileSystem/transferQueue.test.ts:80
↓ 2 callersMethodmoveNodes
* Move the nodes to a new parent node. * * The operation is performed node by node and the results are yielded * as they are available.
client/js/src/protonDriveClient.ts:576
↓ 2 callersMethodnotifyNodeUploaded
(nodeRevisionDraft: NodeRevisionDraft)
client/js/src/internal/upload/manager.ts:426
↓ 2 callersMethodonFinished
()
cli/src/commands/fileSystem/transferProgress.ts:82
↓ 2 callersFunctionparseFolderExtendedAttributes
(logger: Logger, extendedAttributes?: string)
client/js/src/internal/nodes/extendedAttributes.ts:70
↓ 2 callersFunctionparseInvitationUid
(input: string)
cli/src/commands/sharing/invitations.ts:9
↓ 2 callersFunctionparseKeyValuePairs
(raw: string)
cli/src/api/apiRequirements.ts:102
↓ 2 callersFunctionparseModificationTime
( logger: Logger, xattr?: FolderExtendedAttributesSchema | FolderExtendedAttributesSchema, )
client/js/src/internal/nodes/extendedAttributes.ts:158
↓ 2 callersMethodparsePromptStrategy
(line: string | null, choices: readonly ConflictChoice[])
cli/src/commands/fileSystem/transferConflictResolver.ts:143
↓ 2 callersFunctionparseSemverParts
(v: string)
cli/src/api/apiRequirements.ts:139
↓ 2 callersFunctionpathBasename
(fullPath: string)
cli/src/cli/paths.ts:403
↓ 2 callersFunctionpathDirname
(fullPath: string)
cli/src/cli/paths.ts:398
↓ 2 callersMethodpause
()
client/js/src/interface/upload.ts:78
↓ 2 callersMethodpause
Pause the progress display. Use for prompts for the user.
cli/src/commands/fileSystem/transferProgress.ts:9
↓ 2 callersMethodpostBlockStream
( baseUrl: string, token: string, data: XMLHttpRequestBodyInit, onProgress?: (
client/js/src/internal/apiService/apiService.ts:223
↓ 2 callersFunctionprintCommandSynopsisLine
(command: Command)
cli/src/cli/help.ts:89
↓ 2 callersMethodprintSharedNodes
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:121
↓ 2 callersMethodprintSharedWithMe
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:125
↓ 2 callersMethodprintTrashedNodes
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:129
↓ 2 callersFunctionprintUsage
(commands: Command[])
cli/src/cli/help.ts:24
↓ 2 callersMethodprocessEvents
()
client/js/src/internal/events/eventManager.ts:89
↓ 2 callersMethodrejectInvitation
* Reject the invitation to the shared node. * * @param invitationUid - Invitation entity or its UID string.
client/js/src/protonDriveClient.ts:846
↓ 2 callersMethodreleaseAll
* Releases all tracked native memory pointers. */
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ByteArrayPointers.kt:23
↓ 2 callersFunctionreleaseEventsLock
(logger: Logger, cacheDir: string)
cli/src/events/lock.ts:90
↓ 2 callersMethodremoveNodeKeys
(nodeUids: string[])
client/js/src/internal/nodes/cryptoCache.ts:43
↓ 2 callersMethodremoveNodeUid
* @throws Error if the cache is not set yet. First, the cache should be * set by calling `setNodeUids` after full loading of the list.
client/js/src/internal/sharing/cache.ts:95
↓ 2 callersMethodremovePhotos
( albumNodeUid: string, photoNodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/photos/albumsManager.ts:226
↓ 2 callersMethodremoveShareKeys
(shareIds: string[])
client/js/src/internal/shares/cryptoCache.ts:47
↓ 2 callersMethodremoveVolume
(volumeId: string)
client/js/src/internal/shares/cache.ts:43
↓ 2 callersMethodreportDownloadVerifierAttempt
(params: { result: 'success' | 'failure' | 'skipped'; fileSize: number; checksumVerifi
cli/src/telemetry/metricHandler.ts:24
↓ 2 callersMethodrequestBatchedThumbnailDownloads
(signal?: AbortSignal)
client/js/src/internal/download/thumbnailDownloader.ts:120
↓ 2 callersMethodrequestBlockUpload
( draftNodeRevisionUid: string, addressId: string | AnonymousUser, blocks: {
client/js/src/internal/upload/apiService.ts:200
↓ 2 callersFunctionrunCommand
( commands: Command[], argv: string[], initOptions: InitConfig, session?: CliSession, )
cli/src/cli/run.ts:32
↓ 2 callersMethodscheduleNextPoll
()
client/js/src/internal/events/eventManager.ts:117
↓ 2 callersFunctionscrubStackFrame
(frame: StackFrame)
cli/src/telemetry/sentry.ts:72
↓ 2 callersFunctionseedImportFolderCryptoCache
(args: { openPGPCryptoModule: OpenPGPCrypto; srpModule: SRPModule; telemetry?: ProtonDriveTelemetr
client/js/src/internal/easySwitch/importFolderInjection.ts:27
↓ 2 callersMethodsend
(metrics: MetricRequest[])
cli/src/telemetry/metrics/lib/requestService.ts:60
↓ 2 callersFunctionserialiseNode
(node: DecryptedNode)
client/js/src/internal/nodes/cache.ts:262
↓ 2 callersMethodsetUserKeyPassword
(userKeyPassword: string)
incubating/account/js/src/sessionCredentials.ts:20
↓ 2 callersMethodshareNode
* Share or update sharing of the node. * * If the node is already shared, the sharing settings are updated. * If the member is already
client/js/src/protonDriveClient.ts:915
↓ 2 callersFunctionshareTypeToMetricContext
(shareType: ShareType)
client/js/src/internal/shares/cryptoService.ts:163
↓ 2 callersMethodsignArmored
(data: Uint8Array<ArrayBuffer>, signingKeys: PrivateKey | PrivateKey[])
client/js/src/crypto/openPGPCrypto.ts:208
↓ 2 callersMethodsignManifest
( manifest: Uint8Array<ArrayBuffer>, signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:784
↓ 2 callersMethodsignOut
()
incubating/account/js/src/sessionCredentials.ts:22
↓ 2 callersFunctionsleepMs
(ms: number, signal?: AbortSignal)
incubating/account/js/src/sleep.ts:1
↓ 2 callersFunctionsplitDeviceUid
(deviceUid: string)
client/js/src/internal/uids.ts:5
↓ 2 callersFunctionsplitGeneratedAndCustomPassword
(concatenatedPassword: string)
client/js/src/internal/sharing/cryptoService.ts:674
↓ 2 callersFunctionsplitMemberUid
(memberUid: string)
client/js/src/internal/uids.ts:54
↓ 2 callersFunctionsplitPublicLinkUid
(publicLinkUid: string)
client/js/src/internal/uids.ts:63
↓ 2 callersFunctionstartNewIterator
()
client/js/src/internal/asyncIteratorRace.ts:31
↓ 2 callersMethodstartProgress
()
client/js/src/diagnostic/sdkDiagnosticBase.ts:39
↓ 2 callersMethodstartSubscriptions
()
cli/src/events/manager.ts:46
↓ 2 callersMethodsubscribeCoreEvents
()
cli/src/events/manager.ts:84
↓ 2 callersMethodsubscribeForSdk
(sdkContext: EventsContext, scopeId: string, sdk: TreeSdk)
cli/src/events/manager.ts:73
↓ 2 callersMethodsubscribeToCoreEvents
* @deprecated Use `processCoreEvent` instead.
client/js/src/internal/events/index.ts:57
↓ 2 callersMethodtoHexPrefix
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/ProtonSdkError.kt:111
↓ 2 callersMethodtoSdkAddress
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/CoreUserAddressResolver.kt:44
↓ 2 callersMethodtrackItem
(name: string, size?: number)
cli/src/commands/fileSystem/transferProgress.ts:6
↓ 2 callersFunctiontransformBlock
(block: GetRevisionResponse['Revision']['Blocks'][0])
client/js/src/internal/download/apiService.ts:162
↓ 2 callersFunctiontransformRevisionResponse
( volumeId: string, nodeId: string, revision: GetRevisionResponse['Revision'] | GetRevisionsRespon
client/js/src/internal/nodes/apiService.ts:852
↓ 2 callersFunctiontransformThumbnail
( volumeId: string, nodeId: string, thumbnail: { ThumbnailID: string | null; Type: 1 | 2 | 3 }, )
client/js/src/internal/nodes/apiService.ts:870
↓ 2 callersMethodtrashConflictingNode
(ctx: UploadContext, node: NodeEntity)
cli/src/commands/fileSystem/commandFileSystemUpload.ts:267
↓ 2 callersFunctiontrimHistory
Drop oldest entries; keep the most recent `historySize` prompts (newest-first).
cli/src/cli/readline.ts:82
↓ 2 callersMethodunsafeDownloadToStream
* Same as `downloadToStream` but without verification checks. * * Use this only for debugging purposes.
client/js/src/interface/download.ts:25
↓ 2 callersMethodunshareNode
* Unshare the node, completely or partially. * * @param nodeUid - Node entity or its UID string. * @param settings - Settings for unsha
client/js/src/protonDriveClient.ts:928
↓ 2 callersMethodupdateAuthenticatedClientHeaders
()
incubating/account/js/src/apiClient.ts:63
↓ 2 callersMethodupdateMember
(memberUid: string, role: MemberRole)
client/js/src/internal/sharing/sharingManagement.ts:750
↓ 2 callersMethoduploadBlock
( uploadToken: { index: number; bareUrl: string; token: string }, encryptedBlock: EncryptedBlo
client/js/src/internal/upload/streamUploader.ts:493
↓ 2 callersMethodusePhotoSdk
()
cli/src/cli/paths.ts:186
← previousnext →801–900 of 3,221, ranked by callers