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
verify
( data: Uint8Array<ArrayBuffer>, signature: Uint8Array<ArrayBuffer>, verificationKeys:
client/js/src/crypto/openPGPCrypto.ts:220
↓ 2 callers
Method
verifyExpectedNodeChildren
( parentNodeUid: string, children: NodeEntity[], expectedStructure?: ExpectedTreeNode,
client/js/src/diagnostic/sdkDiagnosticBase.ts:67
↓ 2 callers
Method
verifyExternalInvitation
( inviteeEmail: string, shareSessionKey: SessionKey, base64Signature: string,
client/js/src/crypto/driveCrypto.ts:680
↓ 2 callers
Method
verifyIntegrity
( thumbnails: Thumbnail[], digests: { sha1: string }, )
client/js/src/internal/upload/streamUploader.ts:635
↓ 2 callers
Method
verifyNodeTree
(node: NodeEntity, expectedStructure?: ExpectedTreeNode)
client/js/src/diagnostic/sdkDiagnosticMain.ts:45
↓ 2 callers
Method
verifyNodesQueue
()
client/js/src/diagnostic/sdkDiagnosticBase.ts:102
↓ 2 callers
Function
visibleOptions
(command: Command)
cli/src/cli/help.ts:161
↓ 2 callers
Method
waitForCapacity
(signal?: AbortSignal)
client/js/src/internal/download/queue.ts:22
↓ 2 callers
Method
waitWhilePaused
()
client/js/src/internal/upload/controller.ts:12
↓ 2 callers
Method
waitWhilePaused
()
client/js/src/internal/download/controller.ts:13
↓ 2 callers
Function
webpFitMaxBytes
(localPath: string, maxSide: number, maxBytes: number)
cli/src/commands/fileSystem/generateThumbnails.ts:71
↓ 2 callers
Function
wrapText
(text: string, width: number)
cli/src/cli/help.ts:175
↓ 1 callers
Method
AddAutomaticDecompression
(this SocketsHttpHandler handler)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Http/SocketsHttpHandlerExtensions.cs:8
↓ 1 callers
Method
AddDownloadedBlockDigest
(ReadOnlyMemory<byte> sha256Digest)
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:47
↓ 1 callers
Method
AddNumberOfBytesWritten
(long bytes)
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:60
↓ 1 callers
Method
AddTlsPinning
<summary> Configures the <see cref="SocketsHttpHandler"></see> to apply server certificate public key pinning for an <see cref="HttpClient"/>. </summa
incubating/account/cs/src/Proton.Drive.Sdk.Account/Http/SocketsHttpHandlerExtensions.cs:25
↓ 1 callers
Method
ApplyDataPasswordAsync
(ReadOnlyMemory<byte> password, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/ProtonApiSession.cs:283
↓ 1 callers
Method
ApplyFileMinimumTotalBlockCount
<summary> Increases the total and remaining block counts for a file if the given total is greater than the current one. </summary>
client/cs/src/Proton.Drive.Sdk/Nodes/TransferQueue.cs:92
↓ 1 callers
Method
AsReadOnlyMemory
()
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/Verification/VerificationToken.cs:27
↓ 1 callers
Method
AuthenticateAsync
( SessionInitiationResponse initiationResponse, SrpClientHandshake srpClientHandshake,
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Authentication/AuthenticationApiClient.cs:26
↓ 1 callers
Method
ConfigureCookies
(this SocketsHttpHandler handler, CookieContainer cookieContainer)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Http/SocketsHttpHandlerExtensions.cs:14
↓ 1 callers
Method
CreateAddressesApiClient
(HttpClient httpClient)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/IApiClientFactory.cs:19
↓ 1 callers
Method
CreateClient
(string name)
client/cs/src/Proton.Drive.Sdk/Http/SdkHttpClientFactoryDecorator.cs:23
↓ 1 callers
Method
CreateDecryptionErrorEventsAsync
<summary> Creates DecryptionErrorEvent objects for a degraded node with multiple failed fields. </summary>
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryEventFactory.cs:14
↓ 1 callers
Method
CreateDeviceAsync
<summary> Registers a new device for the current user. </summary>
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:333
↓ 1 callers
Method
CreateFileAsync
(VolumeId volumeId, FileCreationRequest request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:14
↓ 1 callers
Method
CreateFolderAsync
(NodeUid parentId, string name, DateTime? lastModificationTime, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:170
↓ 1 callers
Method
CreateFolderAsync
( VolumeId volumeId, FolderCreationRequest request, CancellationToken cancellationToke
client/cs/src/Proton.Drive.Sdk/Api/Folders/FoldersApiClient.cs:21
↓ 1 callers
Method
CreateLogger
(string categoryName)
client/cs/src/Proton.Drive.Sdk.CExports/Logging/InteropLoggerProvider.cs:21
↓ 1 callers
Method
CreatePhotosVolumeAsync
( ProtonDriveClient client, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Volumes/VolumeOperations.cs:90
↓ 1 callers
Method
CreateRevisionAsync
( VolumeId volumeId, LinkId linkId, RevisionCreationRequest request, Cancellat
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:22
↓ 1 callers
Method
CreateUsersApiClient
(HttpClient httpClient)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/IApiClientFactory.cs:16
↓ 1 callers
Method
CreateVerificationErrorEventAsync
<summary> Creates a VerificationErrorEvent using a node UID. </summary>
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryEventFactory.cs:37
↓ 1 callers
Method
Decrypt
(string entryKey, string encryptedBase64)
client/cs/src/Proton.Sdk/Caching/EncryptedCacheRepository.cs:134
↓ 1 callers
Method
DecryptExtendedAttributes
( PgpArmoredMessage? encryptedExtendedAttributes, Result<PgpPrivateKey, ProtonDriveError> node
client/cs/src/Proton.Drive.Sdk/Nodes/Cryptography/NodeCrypto.cs:82
↓ 1 callers
Method
DecryptFileAsync
( IProtonAccountClient accountClient, LinkDto linkDto, FileDto fileDto, Active
client/cs/src/Proton.Drive.Sdk/Nodes/Cryptography/NodeCrypto.cs:33
↓ 1 callers
Method
DecryptFolderAsync
( IProtonAccountClient accountClient, LinkDto link, PgpArmoredMessage folderHashKey,
client/cs/src/Proton.Drive.Sdk/Nodes/Cryptography/NodeCrypto.cs:15
↓ 1 callers
Method
DeleteDeviceAsync
<summary> Permanently deletes a device from the user's account. </summary>
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:349
↓ 1 callers
Method
DeleteDraftAsync
(RevisionUid revisionUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/NewFileDraftProvider.cs:198
↓ 1 callers
Function
DeviceUid
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/entity/DeviceUid.kt:5
↓ 1 callers
Method
Dispose
()
client/cs/src/Proton.Drive.Sdk/Nodes/TaskControl.cs:80
↓ 1 callers
Method
Dispose
()
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:320
↓ 1 callers
Method
DisposeAsync
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:70
↓ 1 callers
Method
EmptyAsync
(VolumeId volumeId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Files/TrashApiClient.cs:62
↓ 1 callers
Method
Encrypt
(string entryKey, string plaintext)
client/cs/src/Proton.Sdk/Caching/EncryptedCacheRepository.cs:104
↓ 1 callers
Method
EnsureApiSuccessAsync
( this HttpResponseMessage responseMessage, JsonTypeInfo<TFailure> failureTypeInfo, Ca
client/cs/src/Proton.Sdk/Api/Http/HttpResponseMessageExtensions.cs:11
↓ 1 callers
Method
EnterAsync
(int count, CancellationToken cancellationToken = default)
client/cs/src/Proton.Drive.Sdk/FifoFlexibleSemaphore.cs:37
↓ 1 callers
Method
EnumerateChildrenAsync
( ProtonDriveClient client, NodeUid folderUid, [EnumeratorCancellation] CancellationTo
client/cs/src/Proton.Drive.Sdk/Nodes/FolderOperations.cs:14
↓ 1 callers
Method
EnumerateDevicesAsync
<summary> Iterates through all devices for the user. The results are not sorted and the order is not guaranteed. </summary> <remarks> If a device's na
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:325
↓ 1 callers
Method
EnumerateFolderChildrenNodeUidsAsync
(NodeUid folderId, CancellationToken cancellationToken = default)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:175
↓ 1 callers
Method
EnumerateNodesAsync
(IAsyncEnumerable<NodeUid> nodeUids, CancellationToken cancellationToken = default)
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:93
↓ 1 callers
Method
EnumerateNodesAsync
(IAsyncEnumerable<NodeUid> nodeUids, CancellationToken cancellationToken = default)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:165
↓ 1 callers
Method
EnumeratePhotosTimelineAsync
( ProtonDriveClient client, [EnumeratorCancellation] CancellationToken cancellationToken = def
client/cs/src/Proton.Drive.Sdk/Nodes/PhotosNodeOperations.cs:51
↓ 1 callers
Method
EnumerateTimelineAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:98
↓ 1 callers
Method
Failure
(TError error)
client/cs/src/Proton.Sdk/Result.cs:52
↓ 1 callers
Method
Fill
(byte[] buffer)
client/cs/src/Proton.Sdk/Cryptography/CryptoSecureNumberGenerator.cs:7
↓ 1 callers
Method
FindDuplicatesAsync
(string name, Action<string> generateSha1, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:80
↓ 1 callers
Method
FindRootForNode
( ProtonDriveClient client, NodeMetadata nodeMetadata, bool useCacheOnly, Canc
client/cs/src/Proton.Drive.Sdk/Nodes/TraversalOperations.cs:5
↓ 1 callers
Method
FlushAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Cryptography/HashingReadStream.cs:52
↓ 1 callers
Method
FromFile
(FileMetadata m)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeMetadata.cs:30
↓ 1 callers
Method
GetAccessTokenAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Authentication/TokenCredential.cs:33
↓ 1 callers
Method
GetActivePublicKeysAsync
(string emailAddress, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Keys/KeysApiClient.cs:10
↓ 1 callers
Method
GetAddressPrivateKeysAsync
(AddressId addressId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/IProtonAccountClient.cs:11
↓ 1 callers
Method
GetAddressesAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Addresses/AddressesApiClient.cs:11
↓ 1 callers
Method
GetAuthenticatedUserAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Users/UsersApiClient.cs:10
↓ 1 callers
Method
GetAvailableNameAsync
FIXME: unit tests, including name collision cases
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:250
↓ 1 callers
Method
GetAvailableNames
( VolumeId volumeId, LinkId folderId, NodeNameAvailabilityRequest request, Can
client/cs/src/Proton.Drive.Sdk/Api/Links/LinksApiClient.cs:67
↓ 1 callers
Method
GetBlobStreamAsync
(string baseUrl, string token, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Storage/StorageApiClient.cs:39
↓ 1 callers
Method
GetByTagsAsync
(IEnumerable<string> tags, CancellationToken cancellationToken = default)
client/cs/src/Proton.Sdk/Caching/ICacheRepository.cs:15
↓ 1 callers
Method
GetChildrenAsync
(VolumeId volumeId, LinkId linkId, LinkId? anchorId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Folders/FoldersApiClient.cs:12
↓ 1 callers
Method
GetContextShareAsync
( ProtonDriveClient client, NodeMetadata nodeMetadata, bool useCacheOnly, Canc
client/cs/src/Proton.Drive.Sdk/Shares/ShareOperations.cs:53
↓ 1 callers
Method
GetCreationRequest
( string name, DeviceType deviceType, AddressId addressId, AddressKeyId addres
client/cs/src/Proton.Drive.Sdk/Devices/DeviceCrypto.cs:11
↓ 1 callers
Method
GetDevicesAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Devices/DevicesApiClient.cs:12
↓ 1 callers
Method
GetDownloadedBlockDigests
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:39
↓ 1 callers
Method
GetDraftAsync
(long intendedUploadSize, bool forPhotos, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/NewFileDraftProvider.cs:32
↓ 1 callers
Method
GetEventsAsync
(VolumeId volumeId, DriveEventId cursorEventId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Volumes/VolumesApiClient.cs:34
↓ 1 callers
Method
GetExportRequiredBufferLength
()
client/cs/src/Proton.Sdk/Cryptography/IPgpArmoredBlock.cs:8
↓ 1 callers
Method
GetFileDownloaderAsync
(RevisionUid revisionUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:244
↓ 1 callers
Method
GetFileRevisionUploaderAsync
( RevisionUid currentActiveRevisionUid, long size, FileUploadMetadata metadata,
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:227
↓ 1 callers
Method
GetFileSecretsOrThrow
()
client/cs/src/Proton.Drive.Sdk/Nodes/NodeMetadataResultExtensions.cs:29
↓ 1 callers
Method
GetFirstBytes
(this RecyclableMemoryStream stream, long maxLength)
client/cs/src/Proton.Drive.Sdk/RecyclableMemoryStreamExtensions.cs:8
↓ 1 callers
Method
GetFolderKeyOrThrow
()
client/cs/src/Proton.Drive.Sdk/Nodes/NodeMetadataResultExtensions.cs:36
↓ 1 callers
Method
GetFolderSecretsOrThrow
()
client/cs/src/Proton.Drive.Sdk/Nodes/NodeMetadataResultExtensions.cs:22
↓ 1 callers
Method
GetIsDownloadCompleteWithVerificationIssue
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadController.cs:39
↓ 1 callers
Method
GetKeySaltsAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Keys/KeysApiClient.cs:17
↓ 1 callers
Method
GetLatestEventAsync
(VolumeId volumeId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Volumes/VolumesApiClient.cs:27
↓ 1 callers
Method
GetLogger
(this ITelemetry telemetry)
client/cs/src/Proton.Sdk/Telemetry/TelemetryExtensions.cs:7
↓ 1 callers
Method
GetMyFilesShareAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Shares/SharesApiClient.cs:11
↓ 1 callers
Method
GetNewContentBlockNumber
()
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:94
↓ 1 callers
Method
GetNextBlockIndexToDownload
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:31
↓ 1 callers
Method
GetOrCreateMyFilesFolderAsync
(ProtonDriveClient client, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:24
↓ 1 callers
Method
GetParentFolderHashKeyAsync
( ProtonDriveClient client, NodeUid uid, bool forPhotos, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:621
↓ 1 callers
Method
GetPhotosDownloaderAsync
(NodeUid photoUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:110
↓ 1 callers
Method
GetPublicKeysAsync
( ProtonAccountClient client, string emailAddress, CancellationToken cancellationToken
incubating/account/cs/src/Proton.Drive.Sdk.Account/Addresses/AddressOperations.cs:122
↓ 1 callers
Method
GetRefreshedAccessTokenAsync
(string rejectedAccessToken, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Authentication/TokenCredential.cs:38
↓ 1 callers
Method
GetRenameRequest
( string name, PgpPrivateKey shareKey, PgpSessionKey nameSessionKey, PgpPrivat
client/cs/src/Proton.Drive.Sdk/Devices/DeviceCrypto.cs:74
↓ 1 callers
Method
GetRequestType
(this HttpRequestMessage requestMessage)
client/cs/src/Proton.Sdk/Api/Http/HttpRequestMessageExtensions.cs:10
↓ 1 callers
Method
GetRootShareAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Photos/PhotosApiClient.cs:21
↓ 1 callers
Method
GetScopesAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Authentication/AuthenticationApiClient.cs:88
↓ 1 callers
Method
GetTagIsCompleteAsync
(this ICacheRepository repository, string tag, CancellationToken cancellationToken)
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:112
← previous
next →
901–1,000 of 3,221, ranked by callers