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
HandleGetFileUploaderAsync
(DriveClientGetFileUploaderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:92
↓ 2 callers
Method
HandleGetNodeAsync
(DriveClientGetNodeRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:334
↓ 2 callers
Method
HandleIsPaused
(UploadControllerIsPausedRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:9
↓ 2 callers
Method
HandlePause
(UploadControllerPauseRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:25
↓ 2 callers
Method
HandleRestoreNodesAsync
(DriveClientRestoreNodesRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:306
↓ 2 callers
Method
HandleResume
(UploadControllerResumeRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:34
↓ 2 callers
Method
HandleTrashNodesAsync
(DriveClientTrashNodesRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:280
↓ 2 callers
Method
HandleUploadFromFile
(UploadFromFileRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropFileUploader.cs:44
↓ 2 callers
Method
HandleUploadFromStream
(UploadFromStreamRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropFileUploader.cs:10
↓ 2 callers
Method
IncreaseFileBlockCount
(long queueToken, int amount)
client/cs/src/Proton.Drive.Sdk/Nodes/TransferQueue.cs:114
↓ 2 callers
Method
IsValidationCode
<summary> API response codes that represent user-facing validation failures. Kept in sync with JS <c>apiErrorFactory</c> validation cases. </summary>
client/cs/src/Proton.Drive.Sdk/Telemetry/ValidationResponseCode.cs:11
↓ 2 callers
Method
OpenForReading
(ProtonDriveClient client, DownloadState downloadState)
client/cs/src/Proton.Drive.Sdk/Nodes/RevisionOperations.cs:63
↓ 2 callers
Method
OpenInMemory
(int? maxCacheSize = 1024)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:17
↓ 2 callers
Method
Pause
()
client/cs/src/Proton.Drive.Sdk/Nodes/TaskControl.cs:19
↓ 2 callers
Method
Pin
(int elementIndex = 0)
client/cs/src/Proton.Drive.Sdk.CExports/InteropStream.cs:183
↓ 2 callers
Method
Read
(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
client/cs/src/Proton.Drive.Sdk/Serialization/UidJsonConverter.cs:9
↓ 2 callers
Method
Read
(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
client/cs/src/Proton.Sdk/Serialization/StrongIdJsonConverter.cs:9
↓ 2 callers
Method
ReadAsync
(Stream contentOutputStream, Action<long, long?> onProgress, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/Download/RevisionReader.cs:33
↓ 2 callers
Method
ReadAsync
(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk.CExports/InteropStream.cs:78
↓ 2 callers
Method
Remove
(string key)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:181
↓ 2 callers
Method
RenameAsync
( ProtonDriveClient client, NodeUid uid, string newName, string? newMediaType,
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:331
↓ 2 callers
Method
RestoreFromTrashAsync
( ProtonDriveClient client, IEnumerable<NodeUid> uids, CancellationToken cancellationT
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:497
↓ 2 callers
Method
RestoreNodesAsync
(IEnumerable<NodeUid> uids, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:279
↓ 2 callers
Method
Resume
()
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/UploadController.cs:44
↓ 2 callers
Method
SendAsync
(HttpRequestMessage request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk.CExports/InteropHttpClientFactory.cs:46
↓ 2 callers
Method
Set
(string key, string value, IEnumerable<string> tags)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:113
↓ 2 callers
Method
SetAsync
(this ICacheRepository repository, string key, string value, CancellationToken cancellationToken)
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:10
↓ 2 callers
Method
SetMyFilesShareIdAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:61
↓ 2 callers
Method
SetPhotosShareIdAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:78
↓ 2 callers
Method
SetRequestType
(this HttpRequestMessage requestMessage, HttpRequestType requestType)
client/cs/src/Proton.Sdk/Api/Http/HttpRequestMessageExtensions.cs:5
↓ 2 callers
Method
StartBlockQueueingAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/TransferQueue.cs:160
↓ 2 callers
Method
ToProtoError
(this Exception exception, Action<Error, Exception> setDomainAndCodesFunction)
client/cs/src/Proton.Drive.Sdk.CExports/ExceptionExtensions.cs:5
↓ 2 callers
Method
ToString
()
client/cs/src/Proton.Drive.Sdk/Devices/DeviceUid.cs:22
↓ 2 callers
Method
ToString
()
client/cs/src/Proton.Sdk/Serialization/IStrongId.cs:9
↓ 2 callers
Method
ToString
()
incubating/account/cs/src/Proton.Drive.Sdk.Account/Authentication/SessionId.cs:23
↓ 2 callers
Method
ToTelemetry
(this Telemetry telemetry, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropTelemetryExtensions.cs:8
↓ 2 callers
Method
TrashAsync
( ProtonDriveClient client, IEnumerable<NodeUid> uids, CancellationToken cancellationT
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:418
↓ 2 callers
Method
TrashNodesAsync
(IEnumerable<NodeUid> uids, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:269
↓ 2 callers
Method
TryGetAccountKeyPassphraseAsync
(string keyId, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/SessionSecretCache.cs:18
↓ 2 callers
Method
TryGetAddressKeysAsync
(AddressId addressId, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountSecretCache.cs:38
↓ 2 callers
Method
TryGetFileSecretsAsync
(NodeUid nodeId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveSecretCache.cs:55
↓ 2 callers
Method
TryGetFirst
([NotNullWhen(true)] out T1? first)
client/cs/src/Proton.Drive.Sdk/Either.cs:36
↓ 2 callers
Method
TryGetResult
(this Task<T> task, [MaybeNullWhen(false)] out T result)
client/cs/src/Proton.Drive.Sdk/Threading/ReferenceResultTaskExtensions.cs:7
↓ 2 callers
Method
TryGetResult
(this Task<T> task, [NotNullWhen(true)] out T? result)
client/cs/src/Proton.Drive.Sdk/Threading/ValueResultTaskExtensions.cs:7
↓ 2 callers
Method
TryParse
(string s, [NotNullWhen(true)] out RevisionUid? result)
client/cs/src/Proton.Drive.Sdk/Nodes/RevisionUid.cs:33
↓ 2 callers
Method
TryParse
([NotNullWhen(true)] string? value, [NotNullWhen(true)] out TUid? result)
client/cs/src/Proton.Drive.Sdk/Serialization/ICompositeUid.cs:10
↓ 2 callers
Method
TryRecordDecryptionErrorAsync
<summary> Attempts to record decryption error events for a degraded node with multiple failed fields. </summary>
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryRecorder.cs:10
↓ 2 callers
Method
TryResume
()
client/cs/src/Proton.Drive.Sdk/Nodes/TaskControl.cs:39
↓ 2 callers
Method
UploadFromFile
( string filePath, IEnumerable<Thumbnail> thumbnails, Action<long, long>? onProgress,
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/FileUploader.cs:56
↓ 2 callers
Method
UploadFromStream
( Stream contentStream, IEnumerable<Thumbnail> thumbnails, Action<long, long>? onProgr
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/FileUploader.cs:38
↓ 2 callers
Method
ValidateName
( Result<PhasedDecryptionOutput<string>, ProtonDriveError> decryptionResult, [NotNullWhen(true
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:586
↓ 2 callers
Method
Write
(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
client/cs/src/Proton.Sdk/Serialization/StrongIdJsonConverter.cs:16
↓ 2 callers
Method
acceptInvitation
( base64KeyPacket: string, decryptionKeys: PrivateKey[], signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:640
↓ 2 callers
Method
acceptInvitation
(invitationUid: string)
client/js/src/internal/sharing/sharingAccess.ts:155
↓ 2 callers
Function
addBreadcrumb
(data: { message: string; level: Sentry.SeverityLevel; category: string; // eslint-disable-nex
cli/src/telemetry/sentry.ts:132
↓ 2 callers
Method
addNodeUid
* @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:75
↓ 2 callers
Function
appendError
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/ProtonDriveSdkException.kt:25
↓ 2 callers
Function
assertLocalPathIsUploadable
(absolutePath: string, stats: Stats)
cli/src/commands/fileSystem/transferQueue.ts:162
↓ 2 callers
Method
authenticatedRequest
()
incubating/account/js/src/apiClient.ts:74
↓ 2 callers
Method
cancel
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/JniCancellationTokenSource.kt:15
↓ 2 callers
Function
captureException
(error: unknown)
cli/src/telemetry/sentry.ts:111
↓ 2 callers
Function
cleanup
()
cli/src/cli/readPasswordLine.ts:25
↓ 2 callers
Method
clearBlock
* Removes the last drawn progress block from the TTY. Uses ECMA-48 (ANSI) control * strings (`\x1b` = ESC, starts a CSI sequence): * - `[?25
cli/src/commands/fileSystem/transferProgress.ts:146
↓ 2 callers
Method
close
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/HttpStream.kt:34
↓ 2 callers
Function
concatBuffers
(a: Buffer, b: Buffer)
cli/src/cache/crypto.ts:39
↓ 2 callers
Method
contentLength
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/extension/HttpStream.kt:53
↓ 2 callers
Method
convert
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/converter/IntConverter.kt:9
↓ 2 callers
Method
convertExternalInvitaiton
( shareId: string, invitation: GetShareExternalInvitations['ExternalInvitations'][0], )
client/js/src/internal/sharing/apiService.ts:686
↓ 2 callers
Method
convertInternalInvitation
( shareId: string, invitation: GetShareInvitations['Invitations'][0], )
client/js/src/internal/sharing/apiService.ts:671
↓ 2 callers
Function
convertInternalMissingNodeIterator
( nodeIterator: AsyncGenerator<InternalPartialNode | MissingNode>, )
client/js/src/transformers.ts:68
↓ 2 callers
Function
convertInternalRevision
(revision: InternalRevision)
client/js/src/transformers.ts:161
↓ 2 callers
Method
convertResult
(result: EntityResult<string>)
cli/src/cache/driveCryptoCacheAdapter.ts:60
↓ 2 callers
Function
convertSharePayload
(response: GetShareResponse)
client/js/src/internal/shares/apiService.ts:155
↓ 2 callers
Method
copyNodes
(sdk: ProtonDriveClient, sourceNodes: NodeEntity[], targetNode: NodeEntity, json: boolean)
cli/src/commands/fileSystem/commandFileSystemCopy.ts:60
↓ 2 callers
Method
create
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/entity/LegacyUid.kt:18
↓ 2 callers
Function
createBatches
(payloads: TransferEncryptedPhotoPayload[])
client/js/src/internal/photos/addToAlbum.ts:210
↓ 2 callers
Method
createBookmark
(token: string, urlPassword: string, customPassword?: string)
client/js/src/internal/sharing/sharingAccess.ts:200
↓ 2 callers
Function
createCache
( logger: Logger, config: Config, credentials: Credentials, cacheFileName: string, )
cli/src/cache/index.ts:41
↓ 2 callers
Method
createDocument
( parentNodeUid: string, newDocument: { armoredKey: string; armoredNod
client/js/src/internal/sharingPublic/nodes.ts:113
↓ 2 callers
Method
createFolder
( ctx: UploadContext, item: QueueItemDirectory<{ parentNode: NodeEntity }>, )
cli/src/commands/fileSystem/commandFileSystemUpload.ts:144
↓ 2 callers
Method
createHandler
(sdkContext: EventsContext)
cli/src/events/manager.ts:111
↓ 2 callers
Function
createMockPhotoNode
(uid: string, overrides: Partial<DecryptedPhotoNode> = {})
client/js/src/internal/photos/photosManager.test.ts:10
↓ 2 callers
Function
createProgressCallback
* Creates an upload progress callback isolated from the caller's scope. * * When a closure is defined inside a function, the JS engine attaches it t
client/js/src/internal/upload/streamUploader.ts:40
↓ 2 callers
Method
createRetryQueueItem
* Creates a retry queue item with the missing related photo UIDs. * Returns undefined if the photo has already been retried, preventing * in
client/js/src/internal/photos/addToAlbum.ts:159
↓ 2 callers
Function
createTransferProgress
(getSummaryLine: () => string)
cli/src/commands/fileSystem/transferProgress.ts:20
↓ 2 callers
Function
dateToIsoString
(date: Date)
client/js/src/internal/nodes/extendedAttributes.ts:65
↓ 2 callers
Method
decryptAndVerify
( data: Uint8Array<ArrayBuffer>, sessionKey: SessionKey, verificationKeys: PublicKey |
client/js/src/crypto/interface.ts:175
↓ 2 callers
Method
decryptArmoredSessionKey
(armoredData: string, decryptionKeys: PrivateKey | PrivateKey[])
client/js/src/crypto/openPGPCrypto.ts:276
↓ 2 callers
Method
decryptBlock
(encryptedBlock: Uint8Array<ArrayBuffer>, revisionKeys: RevisionKeys)
client/js/src/internal/download/cryptoService.ts:32
↓ 2 callers
Method
decryptExtendedAttributes
( node: { uid: string; creationTime: Date }, encryptedExtendedAttributes: string | undefined,
client/js/src/internal/nodes/cryptoService.ts:575
↓ 2 callers
Method
decryptExternalInvitation
* Verifies an external invitation.
client/js/src/internal/sharing/cryptoService.ts:306
↓ 2 callers
Method
decryptKey
* It decrypts key generated via `generateKey`. * * Armored data are passed from the server. `decryptionKeys` are used * to decrypt the
client/js/src/crypto/driveCrypto.ts:194
↓ 2 callers
Method
decryptKeyWithSrpPassword
* It decrypts the key using the password that was verified via SRP protocol. * * The function follows the same functionality as `decryptKey`
client/js/src/crypto/driveCrypto.ts:309
↓ 2 callers
Method
decryptMember
* Verifies a member.
client/js/src/internal/sharing/cryptoService.ts:332
↓ 2 callers
Method
decryptNodeHashKey
* It decrypts armored node hash key and verifies embeded signature. * * Note: The function doesn't throw in case of verification issue.
client/js/src/crypto/driveCrypto.ts:515
↓ 2 callers
Method
decryptShareUrlPassword
( encryptedPublicLink: Pick<EncryptedPublicLink, 'armoredUrlPassword' | 'flags'>, addressKeys:
client/js/src/internal/sharing/cryptoService.ts:472
↓ 2 callers
Method
delete
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/HttpSdkApi.kt:41
↓ 2 callers
Method
deleteBookmark
(bookmarkUid: string)
client/js/src/internal/sharing/sharingAccess.ts:205
↓ 2 callers
Method
deleteDraft
(draftNodeUid: string)
client/js/src/internal/upload/apiService.ts:280
↓ 2 callers
Method
deleteDraftNode
(nodeUid: string)
client/js/src/internal/upload/manager.ts:329
← previous
next →
601–700 of 3,221, ranked by callers