MCPcopy Create free account

hub / github.com/ProtonDriveApps/sdk / functions

Functions3,221 in github.com/ProtonDriveApps/sdk

↓ 2 callersMethodHandleGetFileUploaderAsync
(DriveClientGetFileUploaderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:92
↓ 2 callersMethodHandleGetNodeAsync
(DriveClientGetNodeRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:334
↓ 2 callersMethodHandleIsPaused
(UploadControllerIsPausedRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:9
↓ 2 callersMethodHandlePause
(UploadControllerPauseRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:25
↓ 2 callersMethodHandleRestoreNodesAsync
(DriveClientRestoreNodesRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:306
↓ 2 callersMethodHandleResume
(UploadControllerResumeRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:34
↓ 2 callersMethodHandleTrashNodesAsync
(DriveClientTrashNodesRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:280
↓ 2 callersMethodHandleUploadFromFile
(UploadFromFileRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropFileUploader.cs:44
↓ 2 callersMethodHandleUploadFromStream
(UploadFromStreamRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropFileUploader.cs:10
↓ 2 callersMethodIncreaseFileBlockCount
(long queueToken, int amount)
client/cs/src/Proton.Drive.Sdk/Nodes/TransferQueue.cs:114
↓ 2 callersMethodIsValidationCode
<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 callersMethodOpenForReading
(ProtonDriveClient client, DownloadState downloadState)
client/cs/src/Proton.Drive.Sdk/Nodes/RevisionOperations.cs:63
↓ 2 callersMethodOpenInMemory
(int? maxCacheSize = 1024)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:17
↓ 2 callersMethodPause
()
client/cs/src/Proton.Drive.Sdk/Nodes/TaskControl.cs:19
↓ 2 callersMethodPin
(int elementIndex = 0)
client/cs/src/Proton.Drive.Sdk.CExports/InteropStream.cs:183
↓ 2 callersMethodRead
(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
client/cs/src/Proton.Drive.Sdk/Serialization/UidJsonConverter.cs:9
↓ 2 callersMethodRead
(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
client/cs/src/Proton.Sdk/Serialization/StrongIdJsonConverter.cs:9
↓ 2 callersMethodReadAsync
(Stream contentOutputStream, Action<long, long?> onProgress, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/Download/RevisionReader.cs:33
↓ 2 callersMethodReadAsync
(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk.CExports/InteropStream.cs:78
↓ 2 callersMethodRemove
(string key)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:181
↓ 2 callersMethodRenameAsync
( ProtonDriveClient client, NodeUid uid, string newName, string? newMediaType,
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:331
↓ 2 callersMethodRestoreFromTrashAsync
( ProtonDriveClient client, IEnumerable<NodeUid> uids, CancellationToken cancellationT
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:497
↓ 2 callersMethodRestoreNodesAsync
(IEnumerable<NodeUid> uids, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:279
↓ 2 callersMethodResume
()
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/UploadController.cs:44
↓ 2 callersMethodSendAsync
(HttpRequestMessage request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk.CExports/InteropHttpClientFactory.cs:46
↓ 2 callersMethodSet
(string key, string value, IEnumerable<string> tags)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:113
↓ 2 callersMethodSetAsync
(this ICacheRepository repository, string key, string value, CancellationToken cancellationToken)
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:10
↓ 2 callersMethodSetMyFilesShareIdAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:61
↓ 2 callersMethodSetPhotosShareIdAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:78
↓ 2 callersMethodSetRequestType
(this HttpRequestMessage requestMessage, HttpRequestType requestType)
client/cs/src/Proton.Sdk/Api/Http/HttpRequestMessageExtensions.cs:5
↓ 2 callersMethodStartBlockQueueingAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/TransferQueue.cs:160
↓ 2 callersMethodToProtoError
(this Exception exception, Action<Error, Exception> setDomainAndCodesFunction)
client/cs/src/Proton.Drive.Sdk.CExports/ExceptionExtensions.cs:5
↓ 2 callersMethodToString
()
client/cs/src/Proton.Drive.Sdk/Devices/DeviceUid.cs:22
↓ 2 callersMethodToString
()
client/cs/src/Proton.Sdk/Serialization/IStrongId.cs:9
↓ 2 callersMethodToString
()
incubating/account/cs/src/Proton.Drive.Sdk.Account/Authentication/SessionId.cs:23
↓ 2 callersMethodToTelemetry
(this Telemetry telemetry, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropTelemetryExtensions.cs:8
↓ 2 callersMethodTrashAsync
( ProtonDriveClient client, IEnumerable<NodeUid> uids, CancellationToken cancellationT
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:418
↓ 2 callersMethodTrashNodesAsync
(IEnumerable<NodeUid> uids, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:269
↓ 2 callersMethodTryGetAccountKeyPassphraseAsync
(string keyId, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/SessionSecretCache.cs:18
↓ 2 callersMethodTryGetAddressKeysAsync
(AddressId addressId, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountSecretCache.cs:38
↓ 2 callersMethodTryGetFileSecretsAsync
(NodeUid nodeId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveSecretCache.cs:55
↓ 2 callersMethodTryGetFirst
([NotNullWhen(true)] out T1? first)
client/cs/src/Proton.Drive.Sdk/Either.cs:36
↓ 2 callersMethodTryGetResult
(this Task<T> task, [MaybeNullWhen(false)] out T result)
client/cs/src/Proton.Drive.Sdk/Threading/ReferenceResultTaskExtensions.cs:7
↓ 2 callersMethodTryGetResult
(this Task<T> task, [NotNullWhen(true)] out T? result)
client/cs/src/Proton.Drive.Sdk/Threading/ValueResultTaskExtensions.cs:7
↓ 2 callersMethodTryParse
(string s, [NotNullWhen(true)] out RevisionUid? result)
client/cs/src/Proton.Drive.Sdk/Nodes/RevisionUid.cs:33
↓ 2 callersMethodTryParse
([NotNullWhen(true)] string? value, [NotNullWhen(true)] out TUid? result)
client/cs/src/Proton.Drive.Sdk/Serialization/ICompositeUid.cs:10
↓ 2 callersMethodTryRecordDecryptionErrorAsync
<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 callersMethodTryResume
()
client/cs/src/Proton.Drive.Sdk/Nodes/TaskControl.cs:39
↓ 2 callersMethodUploadFromFile
( string filePath, IEnumerable<Thumbnail> thumbnails, Action<long, long>? onProgress,
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/FileUploader.cs:56
↓ 2 callersMethodUploadFromStream
( Stream contentStream, IEnumerable<Thumbnail> thumbnails, Action<long, long>? onProgr
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/FileUploader.cs:38
↓ 2 callersMethodValidateName
( Result<PhasedDecryptionOutput<string>, ProtonDriveError> decryptionResult, [NotNullWhen(true
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:586
↓ 2 callersMethodWrite
(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
client/cs/src/Proton.Sdk/Serialization/StrongIdJsonConverter.cs:16
↓ 2 callersMethodacceptInvitation
( base64KeyPacket: string, decryptionKeys: PrivateKey[], signingKey: PrivateKey, )
client/js/src/crypto/driveCrypto.ts:640
↓ 2 callersMethodacceptInvitation
(invitationUid: string)
client/js/src/internal/sharing/sharingAccess.ts:155
↓ 2 callersFunctionaddBreadcrumb
(data: { message: string; level: Sentry.SeverityLevel; category: string; // eslint-disable-nex
cli/src/telemetry/sentry.ts:132
↓ 2 callersMethodaddNodeUid
* @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 callersFunctionappendError
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/ProtonDriveSdkException.kt:25
↓ 2 callersFunctionassertLocalPathIsUploadable
(absolutePath: string, stats: Stats)
cli/src/commands/fileSystem/transferQueue.ts:162
↓ 2 callersMethodauthenticatedRequest
()
incubating/account/js/src/apiClient.ts:74
↓ 2 callersMethodcancel
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/JniCancellationTokenSource.kt:15
↓ 2 callersFunctioncaptureException
(error: unknown)
cli/src/telemetry/sentry.ts:111
↓ 2 callersFunctioncleanup
()
cli/src/cli/readPasswordLine.ts:25
↓ 2 callersMethodclearBlock
* 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 callersMethodclose
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/HttpStream.kt:34
↓ 2 callersFunctionconcatBuffers
(a: Buffer, b: Buffer)
cli/src/cache/crypto.ts:39
↓ 2 callersMethodcontentLength
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/extension/HttpStream.kt:53
↓ 2 callersMethodconvert
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/converter/IntConverter.kt:9
↓ 2 callersMethodconvertExternalInvitaiton
( shareId: string, invitation: GetShareExternalInvitations['ExternalInvitations'][0], )
client/js/src/internal/sharing/apiService.ts:686
↓ 2 callersMethodconvertInternalInvitation
( shareId: string, invitation: GetShareInvitations['Invitations'][0], )
client/js/src/internal/sharing/apiService.ts:671
↓ 2 callersFunctionconvertInternalMissingNodeIterator
( nodeIterator: AsyncGenerator<InternalPartialNode | MissingNode>, )
client/js/src/transformers.ts:68
↓ 2 callersFunctionconvertInternalRevision
(revision: InternalRevision)
client/js/src/transformers.ts:161
↓ 2 callersMethodconvertResult
(result: EntityResult<string>)
cli/src/cache/driveCryptoCacheAdapter.ts:60
↓ 2 callersFunctionconvertSharePayload
(response: GetShareResponse)
client/js/src/internal/shares/apiService.ts:155
↓ 2 callersMethodcopyNodes
(sdk: ProtonDriveClient, sourceNodes: NodeEntity[], targetNode: NodeEntity, json: boolean)
cli/src/commands/fileSystem/commandFileSystemCopy.ts:60
↓ 2 callersMethodcreate
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/entity/LegacyUid.kt:18
↓ 2 callersFunctioncreateBatches
(payloads: TransferEncryptedPhotoPayload[])
client/js/src/internal/photos/addToAlbum.ts:210
↓ 2 callersMethodcreateBookmark
(token: string, urlPassword: string, customPassword?: string)
client/js/src/internal/sharing/sharingAccess.ts:200
↓ 2 callersFunctioncreateCache
( logger: Logger, config: Config, credentials: Credentials, cacheFileName: string, )
cli/src/cache/index.ts:41
↓ 2 callersMethodcreateDocument
( parentNodeUid: string, newDocument: { armoredKey: string; armoredNod
client/js/src/internal/sharingPublic/nodes.ts:113
↓ 2 callersMethodcreateFolder
( ctx: UploadContext, item: QueueItemDirectory<{ parentNode: NodeEntity }>, )
cli/src/commands/fileSystem/commandFileSystemUpload.ts:144
↓ 2 callersMethodcreateHandler
(sdkContext: EventsContext)
cli/src/events/manager.ts:111
↓ 2 callersFunctioncreateMockPhotoNode
(uid: string, overrides: Partial<DecryptedPhotoNode> = {})
client/js/src/internal/photos/photosManager.test.ts:10
↓ 2 callersFunctioncreateProgressCallback
* 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 callersMethodcreateRetryQueueItem
* 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 callersFunctioncreateTransferProgress
(getSummaryLine: () => string)
cli/src/commands/fileSystem/transferProgress.ts:20
↓ 2 callersFunctiondateToIsoString
(date: Date)
client/js/src/internal/nodes/extendedAttributes.ts:65
↓ 2 callersMethoddecryptAndVerify
( data: Uint8Array<ArrayBuffer>, sessionKey: SessionKey, verificationKeys: PublicKey |
client/js/src/crypto/interface.ts:175
↓ 2 callersMethoddecryptArmoredSessionKey
(armoredData: string, decryptionKeys: PrivateKey | PrivateKey[])
client/js/src/crypto/openPGPCrypto.ts:276
↓ 2 callersMethoddecryptBlock
(encryptedBlock: Uint8Array<ArrayBuffer>, revisionKeys: RevisionKeys)
client/js/src/internal/download/cryptoService.ts:32
↓ 2 callersMethoddecryptExtendedAttributes
( node: { uid: string; creationTime: Date }, encryptedExtendedAttributes: string | undefined,
client/js/src/internal/nodes/cryptoService.ts:575
↓ 2 callersMethoddecryptExternalInvitation
* Verifies an external invitation.
client/js/src/internal/sharing/cryptoService.ts:306
↓ 2 callersMethoddecryptKey
* 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 callersMethoddecryptKeyWithSrpPassword
* 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 callersMethoddecryptMember
* Verifies a member.
client/js/src/internal/sharing/cryptoService.ts:332
↓ 2 callersMethoddecryptNodeHashKey
* 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 callersMethoddecryptShareUrlPassword
( encryptedPublicLink: Pick<EncryptedPublicLink, 'armoredUrlPassword' | 'flags'>, addressKeys:
client/js/src/internal/sharing/cryptoService.ts:472
↓ 2 callersMethoddelete
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/HttpSdkApi.kt:41
↓ 2 callersMethoddeleteBookmark
(bookmarkUid: string)
client/js/src/internal/sharing/sharingAccess.ts:205
↓ 2 callersMethoddeleteDraft
(draftNodeUid: string)
client/js/src/internal/upload/apiService.ts:280
↓ 2 callersMethoddeleteDraftNode
(nodeUid: string)
client/js/src/internal/upload/manager.ts:329
← previousnext →601–700 of 3,221, ranked by callers