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
Method
deleteDraftRevision
(nodeRevisionUid: string)
client/js/src/internal/upload/manager.ts:369
↓ 2 callers
Method
deleteExternalInvitation
(invitationUid: string)
client/js/src/internal/sharing/sharingManagement.ts:604
↓ 2 callers
Method
deleteShareWithForce
* Deletes the share even if it is not empty.
client/js/src/internal/sharing/sharingManagement.ts:498
↓ 2 callers
Function
deserialiseNode
(nodeData: string)
client/js/src/internal/nodes/cache.ts:267
↓ 2 callers
Method
deserialiseNode
(nodeData: string)
client/js/src/internal/photos/nodes.ts:123
↓ 2 callers
Method
deserialiseNode
(nodeData: string)
client/js/src/internal/nodes/cache.ts:246
↓ 2 callers
Function
deserializeCachedCryptoMaterial
(json: string)
cli/src/cache/driveCryptoCacheAdapter.ts:132
↓ 2 callers
Method
downloadBlockData
( blockMetadata: BlockMetadata, ignoreIntegrityErrors: boolean, cryptoKeys: RevisionKe
client/js/src/internal/download/fileDownloader.ts:283
↓ 2 callers
Method
downloadFinished
(revisionUid: string, downloadedSize: number)
client/js/src/internal/download/telemetry.ts:60
↓ 2 callers
Method
emptyTrash
()
client/js/src/protonDriveClient.ts:679
↓ 2 callers
Method
encryptArmored
( data: Uint8Array<ArrayBuffer>, encryptionKeys: PublicKey[], sessionKey: SessionKey |
client/js/src/crypto/openPGPCrypto.ts:73
↓ 2 callers
Method
encryptBlock
( verifyBlock: ( encryptedBlock: Uint8Array<ArrayBuffer>, ) => Promise<{ verificat
client/js/src/internal/upload/cryptoService.ts:149
↓ 2 callers
Method
encryptExtendedAttributes
( extendedAttributes: string, encryptionKey: PrivateKey, signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:546
↓ 2 callers
Method
encryptPhotoForTarget
( photoNode: DecryptedPhotoNode, targetKeys: DecryptedNodeKeys, signingKeys: NodeSigni
client/js/src/internal/photos/photosTransferPayloadBuilder.ts:155
↓ 2 callers
Method
encryptPublicLink
( creatorEmail: string, shareSessionKey: SessionKey, password: string, )
client/js/src/internal/sharing/cryptoService.ts:414
↓ 2 callers
Method
encryptShareUrlPassword
( password: string, encryptionKey: PrivateKey, signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:820
↓ 2 callers
Method
encryptThumbnail
( nodeRevisionDraftKeys: NodeRevisionDraftKeys, thumbnail: Thumbnail, )
client/js/src/internal/upload/cryptoService.ts:128
↓ 2 callers
Method
encryptThumbnails
(thumbnails: Thumbnail[])
client/js/src/internal/upload/streamUploader.ts:275
↓ 2 callers
Method
enqueueLocalPath
(absolutePath: string, parentNode: NodeEntity, parentDevice?: number)
cli/src/commands/fileSystem/transferQueue.ts:145
↓ 2 callers
Method
enqueueRemoteFolderChildren
(folderRemoteNode: NodeEntity, localParentPath: string)
cli/src/commands/fileSystem/transferQueue.ts:192
↓ 2 callers
Method
enqueueRemoteNode
(node: NodeEntity, localPath: string)
cli/src/commands/fileSystem/transferQueue.ts:200
↓ 2 callers
Function
ensureDirectory
(dirPath: string)
cli/src/commands/fileSystem/commandFileSystemDownload.ts:333
↓ 2 callers
Method
ensureTicking
()
cli/src/commands/fileSystem/transferProgress.ts:122
↓ 2 callers
Function
errorHasTransientTransportCode
(error: Error)
client/js/src/internal/errors.ts:113
↓ 2 callers
Function
errorMessageIndicatesTransientTransportFailure
(message: string | undefined)
client/js/src/internal/errors.ts:98
↓ 2 callers
Function
eventsLockFile
(dir: string)
cli/src/events/lock.test.ts:13
↓ 2 callers
Function
eventsLockPath
(cacheDir: string)
cli/src/events/lock.ts:61
↓ 2 callers
Function
expectAPICodeError
(error: Error, code: number, message: string)
client/js/src/internal/apiService/errors.test.ts:80
↓ 2 callers
Function
expectFetchBlobToBeCalledWith
(method: string, data?: object)
client/js/src/internal/apiService/apiService.test.ts:140
↓ 2 callers
Function
externalInvitationSignaturePayload
(inviteeEmail: string, shareSessionKey: SessionKey)
client/js/src/crypto/driveCrypto.ts:855
↓ 2 callers
Function
factory
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/SdkNodeFactory.kt:13
↓ 2 callers
Method
fetch
( request: { method: string; url: string; signal?: AbortSignal }, callback: () => Promise<Resp
client/js/src/internal/apiService/apiService.ts:276
↓ 2 callers
Method
finishProgress
()
client/js/src/diagnostic/sdkDiagnosticBase.ts:50
↓ 2 callers
Method
flushCompletedBlocks
(write: (chunk: Uint8Array<ArrayBuffer>) => void | Promise<void>)
client/js/src/internal/download/fileDownloader.ts:386
↓ 2 callers
Function
flushUntil
(predicate: () => boolean, maxTicks = 30)
cli/src/cli/readline.test.ts:45
↓ 2 callers
Function
formatAuthor
(author: Author)
cli/src/cli/formatters.ts:46
↓ 2 callers
Function
formatDate
(date: Date, humanReadable: boolean = false)
cli/src/cli/formatters.ts:50
↓ 2 callers
Function
formatMemberRole
(memberRole: MemberRole)
cli/src/cli/formatters.ts:76
↓ 2 callers
Method
generateContentKey
* It generates content key from node key for encrypting file blocks. * * @param encryptionKey - Its own node key. * @returns Object wit
client/js/src/crypto/driveCrypto.ts:117
↓ 2 callers
Function
generateFolderExtendedAttributes
(claimedModificationTime?: Date)
client/js/src/internal/nodes/extendedAttributes.ts:54
↓ 2 callers
Method
generatePassphrase
()
client/js/src/crypto/openPGPCrypto.ts:14
↓ 2 callers
Method
generatePublicLinkRequestPayload
(publicLink: { role: MemberRole; includesCustomPassword: boolean; expirationTime?: num
client/js/src/internal/sharing/apiService.ts:622
↓ 2 callers
Method
generateVolumeBootstrap
(addressKey: PrivateKey)
client/js/src/internal/shares/cryptoService.ts:48
↓ 2 callers
Method
getAccountRequestPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:432
↓ 2 callers
Method
getAddress
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/CoreUserAddressResolver.kt:20
↓ 2 callers
Method
getAddressKey
( userPrimaryPrivateKeys: PrivateKeyReference[], userPrimaryPublicKeys: PublicKeyReference[],
incubating/account/js/src/addresses.ts:253
↓ 2 callers
Function
getAvailableLocalName
(parentDir: string, baseName: string)
cli/src/commands/fileSystem/commandFileSystemDownload.ts:352
↓ 2 callers
Method
getAvailableName
* Returns the available name for the file in the given parent folder. * * The function will return a name that includes the original name wi
client/js/src/protonDriveClient.ts:1098
↓ 2 callers
Method
getBlockStream
(baseUrl: string, token: string, signal?: AbortSignal)
client/js/src/internal/apiService/apiService.ts:215
↓ 2 callers
Method
getByteArrayPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:96
↓ 2 callers
Function
getCacheKey
(nodeUid: string)
client/js/src/internal/nodes/cryptoCache.ts:49
↓ 2 callers
Function
getCacheKey
(shareId: string)
client/js/src/internal/shares/cryptoCache.ts:52
↓ 2 callers
Function
getCacheUid
(nodeUid: string)
client/js/src/internal/nodes/cache.ts:251
↓ 2 callers
Function
getClaimedAuthor
( claimedAuthor?: string | AnonymousUser, notAvailableVerificationKeys = false, )
client/js/src/internal/nodes/cryptoService.ts:773
↓ 2 callers
Function
getClaimedSize
(node: NodeEntity)
cli/src/cli/node.ts:17
↓ 2 callers
Method
getDeviceMetadata
(deviceUid: string)
client/js/src/internal/devices/manager.ts:115
↓ 2 callers
Method
getDevices
(signal?: AbortSignal)
client/js/src/internal/devices/apiService.ts:32
↓ 2 callers
Method
getDriveEventsFromCoreEvent
(result: CoreApiEvent)
client/js/src/internal/events/apiService.ts:58
↓ 2 callers
Method
getEncryptionKeyMaterial
()
cli/src/cache/encryptedCache.ts:37
↓ 2 callers
Function
getErrorCategory
(error: unknown)
client/js/src/internal/upload/telemetry.ts:114
↓ 2 callers
Function
getErrorCategory
(error: unknown)
client/js/src/internal/download/telemetry.ts:96
↓ 2 callers
Method
getFeatureEnabledPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:438
↓ 2 callers
Method
getFileRevisionUploader
* Same as `getFileUploader`, but for a uploading new revision of the file.
client/js/src/protonDriveClient.ts:1081
↓ 2 callers
Method
getFileUploader
* Get the file uploader to upload a new file. For uploading a new * revision, use `getFileRevisionUploader` instead. * * The number of
client/js/src/protonDriveClient.ts:1068
↓ 2 callers
Method
getHttpClientRequestPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:426
↓ 2 callers
Method
getHttpResponseReadPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:429
↓ 2 callers
Method
getInvitation
(invitationUid: string)
client/js/src/internal/sharing/apiService.ts:264
↓ 2 callers
Function
getInvitationUid
(context: InvitationContext, uid: string)
cli/src/commands/sharing/invitations.ts:5
↓ 2 callers
Function
getItemUid
(item: QueueItem<unknown>)
cli/src/commands/fileSystem/transferQueue.ts:112
↓ 2 callers
Method
getMemberSessionKey
* Decrypts the key packet of a share membership to obtain the member session key. * * The member session key is the session key used to encr
client/js/src/internal/sharing/cryptoService.ts:358
↓ 2 callers
Method
getMyFilesRootFolder
* @returns The root folder to My files section of the user.
client/js/src/protonDriveClient.ts:430
↓ 2 callers
Method
getNodeByName
(parentNode: NodeEntity, name: string)
cli/src/cli/paths.ts:306
↓ 2 callers
Method
getNodeByName
(parentNode: NodeEntity, name: string)
cli/src/cli/paths.ts:388
↓ 2 callers
Function
getNodeUid
(cacheUid: string)
client/js/src/internal/nodes/cache.ts:255
↓ 2 callers
Function
getOptionVariableName
Last segment of the long option name (e.g. conflict-strategy → STRATEGY).
cli/src/cli/help.ts:169
↓ 2 callers
Method
getOwnAddress
(emailOrAddressId: string)
incubating/account/js/src/addresses.ts:68
↓ 2 callers
Method
getOwnVolumeId
* Returns undefined for public link context to prevent incorrect volume ownership detection. * * TEMPORARY: When requesting nodes in public
client/js/src/internal/sharingPublic/nodes.ts:181
↓ 2 callers
Method
getReadPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:411
↓ 2 callers
Method
getRecordMetricPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:435
↓ 2 callers
Method
getRevision
(nodeRevisionUid: string)
client/js/src/internal/download/interface.ts:37
↓ 2 callers
Method
getRevisionBlockToken
( nodeRevisionUid: string, blockIndex: number, signal?: AbortSignal, )
client/js/src/internal/download/apiService.ts:76
↓ 2 callers
Method
getRevisionKeys
( nodeKey: { key: PrivateKey; contentKeyPacketSessionKey: SessionKey }, revision: Revision,
client/js/src/internal/download/cryptoService.ts:21
↓ 2 callers
Method
getRevisionVerificationKeys
(revision: Revision, nodeKey: PrivateKey)
client/js/src/internal/download/cryptoService.ts:118
↓ 2 callers
Method
getRootIDs
()
client/js/src/internal/photos/shares.ts:37
↓ 2 callers
Method
getSeekPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:417
↓ 2 callers
Function
getSha1
(localPath: string)
cli/src/commands/fileSystem/digest.ts:4
↓ 2 callers
Method
getSha1Pointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:441
↓ 2 callers
Method
getShareExternalInvitations
(shareId: string)
client/js/src/internal/sharing/apiService.ts:371
↓ 2 callers
Method
getShareMembers
(shareId: string)
client/js/src/internal/sharing/apiService.ts:380
↓ 2 callers
Method
getSharingInfo
* Get sharing info of the node. * * The sharing info contains the list of invitations, members, * public link and permission for each.
client/js/src/protonDriveClient.ts:898
↓ 2 callers
Method
getSigningKeys
( uids: { nodeUid: string; parentNodeUid?: string } | { nodeUid?: string; parentNodeUid: string },
client/js/src/internal/upload/cryptoService.ts:104
↓ 2 callers
Method
getSigningKeysForExistingNode
(uids: { nodeUid: string; parentNodeUid?: string; })
client/js/src/internal/upload/cryptoService.ts:83
↓ 2 callers
Method
getSrp
( version: number, modulus: string, serverEphemeral: string, salt: string,
incubating/account/js/src/srp.ts:10
↓ 2 callers
Method
getUserKeyPassword
()
incubating/account/js/src/sessionCredentials.ts:18
↓ 2 callers
Method
getVerificationCode
(contentKeyPacket: Uint8Array<ArrayBuffer>)
client/js/src/internal/upload/blockVerifier.ts:63
↓ 2 callers
Function
getVersion
* Returns version from environment variable if set, * otherwise from local git repository. * Returns undefined if no version can be determined.
cli/scripts/build-cli.mjs:73
↓ 2 callers
Method
getWritePointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:414
↓ 2 callers
Function
git
(args)
cli/scripts/build-cli.mjs:112
↓ 2 callers
Method
handleConflictError
( parentFolderUid: string, metadata: UploadMetadata, error: unknown, onRetryAf
client/js/src/internal/upload/manager.ts:254
↓ 2 callers
Method
hasProtonAccount
* Returns whether given email can be used to share files with Proton Drive.
client/js/src/interface/account.ts:25
← previous
next →
701–800 of 3,221, ranked by callers