Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonDriveApps/sdk
/ functions
Functions
3,221 in github.com/ProtonDriveApps/sdk
⨍
Functions
3,221
◇
Types & classes
1,247
↓ 2 callers
Function
imageFromPath
(localPath: string)
cli/src/commands/fileSystem/generateThumbnails.ts:57
↓ 2 callers
Function
init
(configOptions: InitConfig)
cli/src/init.ts:19
↓ 2 callers
Method
init
()
client/js/src/internal/sharingPublic/session/session.ts:32
↓ 2 callers
Function
initNodesModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/nodes/index.ts:32
↓ 2 callers
Function
initSharesModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/shares/index.ts:27
↓ 2 callers
Function
initSharingModule
( telemetry: ProtonDriveTelemetry, apiService: DriveAPIService, driveEntitiesCache: ProtonDriveEnt
client/js/src/internal/sharing/index.ts:24
↓ 2 callers
Method
internalDownloadToStream
( stream: WritableStream, onProgress?: (downloadedBytes: number) => void, ignoreIntegr
client/js/src/internal/download/fileDownloader.ts:175
↓ 2 callers
Method
isDownloadCompleteWithSignatureIssues
* 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 callers
Function
isEexistError
(error: unknown)
cli/src/commands/fileSystem/commandFileSystemDownload.ts:348
↓ 2 callers
Method
isEnabled
(flagName: FeatureFlags, signal?: AbortSignal)
client/js/src/interface/featureFlags.ts:6
↓ 2 callers
Method
isJailed
()
cli/src/telemetry/metrics/lib/requestService.ts:56
↓ 2 callers
Function
isRecoverableReplError
(error: unknown)
cli/src/cli/errors.ts:21
↓ 2 callers
Function
isUpdateNeeded
(clientVersion: string, minVersion: string)
cli/src/api/apiRequirements.ts:90
↓ 2 callers
Method
iterateAlbumUids
(signal?: AbortSignal)
client/js/src/internal/photos/albumsManager.ts:52
↓ 2 callers
Method
iterateDevices
* 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 callers
Method
iterateEvents
()
client/js/src/diagnostic/eventsGenerator.ts:20
↓ 2 callers
Method
iterateItemsWithErrorHandling
(items: ID[])
client/js/src/internal/batchLoading.ts:83
↓ 2 callers
Method
iterateNodesAndIgnoreMissingOnes
( nodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/sharing/sharingAccess.ts:116
↓ 2 callers
Method
iterateSharedNodesFromAPI
( nodeUidsIterator: AsyncGenerator<string>, setCache: (nodeUids: string[]) => Promise<void>,
client/js/src/internal/sharing/sharingAccess.ts:96
↓ 2 callers
Method
iterateSharedNodesFromCache
( nodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/sharing/sharingAccess.ts:82
↓ 2 callers
Method
iterateSharedNodesWithMe
* 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 callers
Method
iterateSharedNodesWithMe
* @deprecated Use `iterateSharedWithMeNodeUids` instead.
client/js/src/internal/sharing/sharingAccess.ts:68
↓ 2 callers
Method
iterateTrashedNodeUids
* 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 callers
Function
linkToEncryptedNodeBaseMetadata
( logger: Logger, volumeId: string, link: Pick<PostLoadLinksMetadataResponse['Links'][0], 'Link' |
client/js/src/internal/nodes/apiService.ts:763
↓ 2 callers
Method
loadVerificationDataForExistingSmallFile
(nodeUid: string, nodeKey: PrivateKey)
client/js/src/internal/upload/blockVerifier.ts:54
↓ 2 callers
Method
loadVerificationDataForNewSmallFile
(nodeKey: PrivateKey, contentKeyPacket: Uint8Array<ArrayBuffer>)
client/js/src/internal/upload/blockVerifier.ts:46
↓ 2 callers
Function
makeDeviceUid
(deviceId: string)
client/js/src/internal/uids.ts:1
↓ 2 callers
Function
makeMemberUid
(shareId: string, memberId: string)
client/js/src/internal/uids.ts:50
↓ 2 callers
Function
makePublicLinkUid
(shareId: string, publicLinkId: string)
client/js/src/internal/uids.ts:59
↓ 2 callers
Method
makeStorageRequest
( method: 'GET' | 'POST', url: string, token: string, body?: XMLHttpRequestBod
client/js/src/internal/apiService/apiService.ts:233
↓ 2 callers
Function
mockFileLstatResult
(dev = 100)
cli/src/commands/fileSystem/transferQueue.test.ts:35
↓ 2 callers
Function
mockFileMaybe
(name: string, uid: string)
cli/src/commands/fileSystem/transferQueue.test.ts:80
↓ 2 callers
Method
moveNodes
* 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 callers
Method
notifyNodeUploaded
(nodeRevisionDraft: NodeRevisionDraft)
client/js/src/internal/upload/manager.ts:426
↓ 2 callers
Method
onFinished
()
cli/src/commands/fileSystem/transferProgress.ts:82
↓ 2 callers
Function
parseFolderExtendedAttributes
(logger: Logger, extendedAttributes?: string)
client/js/src/internal/nodes/extendedAttributes.ts:70
↓ 2 callers
Function
parseInvitationUid
(input: string)
cli/src/commands/sharing/invitations.ts:9
↓ 2 callers
Function
parseKeyValuePairs
(raw: string)
cli/src/api/apiRequirements.ts:102
↓ 2 callers
Function
parseModificationTime
( logger: Logger, xattr?: FolderExtendedAttributesSchema | FolderExtendedAttributesSchema, )
client/js/src/internal/nodes/extendedAttributes.ts:158
↓ 2 callers
Method
parsePromptStrategy
(line: string | null, choices: readonly ConflictChoice[])
cli/src/commands/fileSystem/transferConflictResolver.ts:143
↓ 2 callers
Function
parseSemverParts
(v: string)
cli/src/api/apiRequirements.ts:139
↓ 2 callers
Function
pathBasename
(fullPath: string)
cli/src/cli/paths.ts:403
↓ 2 callers
Function
pathDirname
(fullPath: string)
cli/src/cli/paths.ts:398
↓ 2 callers
Method
pause
()
client/js/src/interface/upload.ts:78
↓ 2 callers
Method
pause
Pause the progress display. Use for prompts for the user.
cli/src/commands/fileSystem/transferProgress.ts:9
↓ 2 callers
Method
postBlockStream
( baseUrl: string, token: string, data: XMLHttpRequestBodyInit, onProgress?: (
client/js/src/internal/apiService/apiService.ts:223
↓ 2 callers
Function
printCommandSynopsisLine
(command: Command)
cli/src/cli/help.ts:89
↓ 2 callers
Method
printSharedNodes
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:121
↓ 2 callers
Method
printSharedWithMe
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:125
↓ 2 callers
Method
printTrashedNodes
(sdk: ProtonDriveClient | ProtonDrivePhotosClient, options: { json: boolean })
cli/src/commands/fileSystem/commandFileSystemList.ts:129
↓ 2 callers
Function
printUsage
(commands: Command[])
cli/src/cli/help.ts:24
↓ 2 callers
Method
processEvents
()
client/js/src/internal/events/eventManager.ts:89
↓ 2 callers
Method
rejectInvitation
* Reject the invitation to the shared node. * * @param invitationUid - Invitation entity or its UID string.
client/js/src/protonDriveClient.ts:846
↓ 2 callers
Method
releaseAll
* Releases all tracked native memory pointers. */
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ByteArrayPointers.kt:23
↓ 2 callers
Function
releaseEventsLock
(logger: Logger, cacheDir: string)
cli/src/events/lock.ts:90
↓ 2 callers
Method
removeNodeKeys
(nodeUids: string[])
client/js/src/internal/nodes/cryptoCache.ts:43
↓ 2 callers
Method
removeNodeUid
* @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 callers
Method
removePhotos
( albumNodeUid: string, photoNodeUids: string[], signal?: AbortSignal, )
client/js/src/internal/photos/albumsManager.ts:226
↓ 2 callers
Method
removeShareKeys
(shareIds: string[])
client/js/src/internal/shares/cryptoCache.ts:47
↓ 2 callers
Method
removeVolume
(volumeId: string)
client/js/src/internal/shares/cache.ts:43
↓ 2 callers
Method
reportDownloadVerifierAttempt
(params: { result: 'success' | 'failure' | 'skipped'; fileSize: number; checksumVerifi
cli/src/telemetry/metricHandler.ts:24
↓ 2 callers
Method
requestBatchedThumbnailDownloads
(signal?: AbortSignal)
client/js/src/internal/download/thumbnailDownloader.ts:120
↓ 2 callers
Method
requestBlockUpload
( draftNodeRevisionUid: string, addressId: string | AnonymousUser, blocks: {
client/js/src/internal/upload/apiService.ts:200
↓ 2 callers
Function
runCommand
( commands: Command[], argv: string[], initOptions: InitConfig, session?: CliSession, )
cli/src/cli/run.ts:32
↓ 2 callers
Method
scheduleNextPoll
()
client/js/src/internal/events/eventManager.ts:117
↓ 2 callers
Function
scrubStackFrame
(frame: StackFrame)
cli/src/telemetry/sentry.ts:72
↓ 2 callers
Function
seedImportFolderCryptoCache
(args: { openPGPCryptoModule: OpenPGPCrypto; srpModule: SRPModule; telemetry?: ProtonDriveTelemetr
client/js/src/internal/easySwitch/importFolderInjection.ts:27
↓ 2 callers
Method
send
(metrics: MetricRequest[])
cli/src/telemetry/metrics/lib/requestService.ts:60
↓ 2 callers
Function
serialiseNode
(node: DecryptedNode)
client/js/src/internal/nodes/cache.ts:262
↓ 2 callers
Method
setUserKeyPassword
(userKeyPassword: string)
incubating/account/js/src/sessionCredentials.ts:20
↓ 2 callers
Method
shareNode
* 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 callers
Function
shareTypeToMetricContext
(shareType: ShareType)
client/js/src/internal/shares/cryptoService.ts:163
↓ 2 callers
Method
signArmored
(data: Uint8Array<ArrayBuffer>, signingKeys: PrivateKey | PrivateKey[])
client/js/src/crypto/openPGPCrypto.ts:208
↓ 2 callers
Method
signManifest
( manifest: Uint8Array<ArrayBuffer>, signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:784
↓ 2 callers
Method
signOut
()
incubating/account/js/src/sessionCredentials.ts:22
↓ 2 callers
Function
sleepMs
(ms: number, signal?: AbortSignal)
incubating/account/js/src/sleep.ts:1
↓ 2 callers
Function
splitDeviceUid
(deviceUid: string)
client/js/src/internal/uids.ts:5
↓ 2 callers
Function
splitGeneratedAndCustomPassword
(concatenatedPassword: string)
client/js/src/internal/sharing/cryptoService.ts:674
↓ 2 callers
Function
splitMemberUid
(memberUid: string)
client/js/src/internal/uids.ts:54
↓ 2 callers
Function
splitPublicLinkUid
(publicLinkUid: string)
client/js/src/internal/uids.ts:63
↓ 2 callers
Function
startNewIterator
()
client/js/src/internal/asyncIteratorRace.ts:31
↓ 2 callers
Method
startProgress
()
client/js/src/diagnostic/sdkDiagnosticBase.ts:39
↓ 2 callers
Method
startSubscriptions
()
cli/src/events/manager.ts:46
↓ 2 callers
Method
subscribeCoreEvents
()
cli/src/events/manager.ts:84
↓ 2 callers
Method
subscribeForSdk
(sdkContext: EventsContext, scopeId: string, sdk: TreeSdk)
cli/src/events/manager.ts:73
↓ 2 callers
Method
subscribeToCoreEvents
* @deprecated Use `processCoreEvent` instead.
client/js/src/internal/events/index.ts:57
↓ 2 callers
Method
toHexPrefix
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/ProtonSdkError.kt:111
↓ 2 callers
Method
toSdkAddress
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/CoreUserAddressResolver.kt:44
↓ 2 callers
Method
trackItem
(name: string, size?: number)
cli/src/commands/fileSystem/transferProgress.ts:6
↓ 2 callers
Function
transformBlock
(block: GetRevisionResponse['Revision']['Blocks'][0])
client/js/src/internal/download/apiService.ts:162
↓ 2 callers
Function
transformRevisionResponse
( volumeId: string, nodeId: string, revision: GetRevisionResponse['Revision'] | GetRevisionsRespon
client/js/src/internal/nodes/apiService.ts:852
↓ 2 callers
Function
transformThumbnail
( volumeId: string, nodeId: string, thumbnail: { ThumbnailID: string | null; Type: 1 | 2 | 3 }, )
client/js/src/internal/nodes/apiService.ts:870
↓ 2 callers
Method
trashConflictingNode
(ctx: UploadContext, node: NodeEntity)
cli/src/commands/fileSystem/commandFileSystemUpload.ts:267
↓ 2 callers
Function
trimHistory
Drop oldest entries; keep the most recent `historySize` prompts (newest-first).
cli/src/cli/readline.ts:82
↓ 2 callers
Method
unsafeDownloadToStream
* Same as `downloadToStream` but without verification checks. * * Use this only for debugging purposes.
client/js/src/interface/download.ts:25
↓ 2 callers
Method
unshareNode
* 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 callers
Method
updateAuthenticatedClientHeaders
()
incubating/account/js/src/apiClient.ts:63
↓ 2 callers
Method
updateMember
(memberUid: string, role: MemberRole)
client/js/src/internal/sharing/sharingManagement.ts:750
↓ 2 callers
Method
uploadBlock
( uploadToken: { index: number; bareUrl: string; token: string }, encryptedBlock: EncryptedBlo
client/js/src/internal/upload/streamUploader.ts:493
↓ 2 callers
Method
usePhotoSdk
()
cli/src/cli/paths.ts:186
← previous
next →
801–900 of 3,221, ranked by callers