MCPcopy Create free account

hub / github.com/ProtonDriveApps/sdk / functions

Functions3,221 in github.com/ProtonDriveApps/sdk

↓ 5 callersMethodisLoggedIn
()
incubating/account/js/src/sessionCredentials.ts:17
↓ 5 callersFunctionjoinNameAndExtension
(name: string, index: number, extension: string)
client/js/src/internal/nodes/nodeName.ts:15
↓ 5 callersFunctionmakeEncryptedNodeFromFolderCrypto
( encryptedCrypto: EncryptedNodeFolderCrypto & { encryptedName: string; hash: string }, )
client/js/src/integration-tests/nodesCrypto.test.ts:332
↓ 5 callersFunctionmakeNodeUidFromRevisionUid
(nodeRevisionUid: string)
client/js/src/internal/uids.ts:27
↓ 5 callersMethodmakeRequest
( url: string, method = 'GET', data?: RequestPayload, signal?: AbortSignal,
client/js/src/internal/apiService/apiService.ts:167
↓ 5 callersMethodobserve
(data: D)
cli/src/telemetry/metrics/lib/histogram.ts:5
↓ 5 callersMethodon
(event: 'sessionInfoChanged', callback: () => void)
incubating/account/js/src/sessionCredentials.ts:15
↓ 5 callersMethodprocessCoreEvent
* Process a raw core API event fetched by the caller's own event loop. * The SDK derives drive-relevant events from it, updates internal caches,
client/js/src/internal/events/index.ts:105
↓ 5 callersMethodrecordFailure
(item: QueueItem<RemoteDataType>, error: unknown)
cli/src/commands/fileSystem/transferQueue.ts:107
↓ 5 callersMethodrecordSuccess
(bytes: number)
cli/src/commands/fileSystem/transferQueue.ts:99
↓ 5 callersMethodremoveScope
(context: EventsContext, treeEventScopeId: string)
cli/src/events/interface.ts:9
↓ 5 callersMethodremoveSharedNodeWithMe
(nodeUid: string)
client/js/src/internal/sharing/sharingAccess.ts:129
↓ 5 callersMethodreportAbuse
( report: Parameters<ReportAbuseAPIService['reportAbuse']>[0], )
client/js/src/internal/sharing/apiService.ts:665
↓ 5 callersMethodrestoreNodes
* Restore the nodes from the trash to their original place. * * The operation is performed in batches and the results are yielded * as
client/js/src/protonDriveClient.ts:656
↓ 5 callersFunctiontempDir
()
cli/src/events/storage.test.ts:7
↓ 5 callersFunctiontestIterateNodes
(mockedLink: object, expectedType?: NodeType)
client/js/src/internal/photos/nodes.test.ts:107
↓ 5 callersMethodtransferPhotos
( newParentNodeUid: string, photoPayloads: TransferEncryptedPhotoPayload[], signal?: A
client/js/src/internal/photos/apiService.ts:573
↓ 5 callersMethoduploadFromFile
* Uploads a file from a file object. It is convenient to use this method * when the file is already in memory. The file object is used to get the
client/js/src/interface/upload.ts:70
↓ 5 callersFunctionvalidateReportShareAbuseSettings
(settings: ReportPublicLinkShareAbuseSettings)
client/js/src/internal/reportAbuse/index.ts:6
↓ 5 callersFunctionverifyBlock
(encryptedBlock: Uint8Array<ArrayBuffer>)
client/js/src/internal/upload/blockVerifier.ts:14
↓ 5 callersFunctionverifyNodeFolder
( decryptedNode: DecryptedUnparsedNode, expected: { name: string; hash: string;
client/js/src/integration-tests/nodesCrypto.test.ts:354
↓ 4 callersMethodAsReadOnlySpan
()
client/cs/src/Proton.Drive.Sdk.CExports/InteropArray.cs:31
↓ 4 callersMethodClear
()
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:207
↓ 4 callersMethodCopyToAsync
(Stream destination, int bufferSize, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Http/NonDisposingStreamWrapper.cs:41
↓ 4 callersMethodCreateAuthenticationApiClient
(HttpClient httpClient, Uri refreshRedirectUri)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/IApiClientFactory.cs:10
↓ 4 callersMethodCreateDownloadEventAsync
<summary> Creates a DownloadEvent with the correct VolumeType for the given node. </summary>
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryEventFactory.cs:77
↓ 4 callersMethodExport
(Span<byte> outputBuffer)
client/cs/src/Proton.Sdk/Cryptography/IPgpArmoredBlock.cs:9
↓ 4 callersMethodFlattenMessage
TODO: Find a way to share the share this logic with ProtonDriveErrorExtensions.FlattenMessage
client/cs/src/Proton.Drive.Sdk/ExceptionExtensions.cs:33
↓ 4 callersMethodGenerateFolderHashKey
()
client/cs/src/Proton.Drive.Sdk/Cryptography/CryptoGenerator.cs:28
↓ 4 callersMethodGetMembershipAddressAsync
(ProtonDriveClient client, NodeUid nodeUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:576
↓ 4 callersMethodGetNodeAsync
(NodeUid nodeUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:158
↓ 4 callersMethodGetResultIfCompletedSuccessfully
(this Task<T> task)
client/cs/src/Proton.Drive.Sdk/Threading/ValueResultTaskExtensions.cs:33
↓ 4 callersMethodGetRevisionAsync
( VolumeId volumeId, LinkId linkId, RevisionId revisionId, int? fromBlockIndex
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:61
↓ 4 callersMethodGetValueLength
()
client/cs/src/Proton.Sdk/Serialization/Utf8JsonReaderExtensions.cs:19
↓ 4 callersMethodHandleCreate
(DriveClientCreateRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:15
↓ 4 callersMethodOpenFile
(string path, int? maxCacheSize = 1024)
client/cs/src/Proton.Sdk/Caching/SqliteCacheRepository.cs:25
↓ 4 callersMethodTryGetNodeAsync
(NodeUid nodeId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/IEntityCache.cs:10
↓ 4 callersMethodWrite
(Utf8JsonWriter writer, TUid value, JsonSerializerOptions options)
client/cs/src/Proton.Drive.Sdk/Serialization/UidJsonConverter.cs:14
↓ 4 callersMethodaddPhotosToAlbum
* Add photos from the same volume to an album. * * To add photos from different volumes, use the {@link copyPhoto} method. * * In
client/js/src/internal/photos/apiService.ts:365
↓ 4 callersFunctionassertValidDownloadRoot
(localFolder: string)
cli/src/commands/fileSystem/downloadPathValidation.ts:14
↓ 4 callersFunctionconvertInternalNodeIterator
( nodeIterator: AsyncGenerator<InternalPartialNode>, )
client/js/src/transformers.ts:60
↓ 4 callersFunctionconvertInternalPhotoNode
(photoNode: InternalPartialPhotoNode)
client/js/src/transformers.ts:140
↓ 4 callersFunctionconvertInternalPhotoNodePromise
( photoNodePromise: Promise<InternalPartialPhotoNode>, )
client/js/src/transformers.ts:133
↓ 4 callersMethodconvertNonProtonInvitation
(nodeUid: string, nonProtonInvitationUid: string)
client/js/src/internal/sharing/sharingManagement.ts:608
↓ 4 callersMethodcopyPhoto
* Copy a photo from a different volume to an album or to the user's own timeline root. * * To add photos from the same volume to an album, u
client/js/src/internal/photos/apiService.ts:441
↓ 4 callersFunctioncreateEmptyGenerator
()
client/js/src/diagnostic/zipGenerators.test.ts:10
↓ 4 callersFunctioncreateQueue
(sdk: Pick<ProtonDriveClient, 'iterateFolderChildren'>)
cli/src/commands/fileSystem/transferQueue.test.ts:389
↓ 4 callersMethoddecryptAndVerifySessionKey
( base64data: string, armoredSignature: string | undefined, decryptionKeys: PrivateKey
client/js/src/crypto/driveCrypto.ts:341
↓ 4 callersMethoddecryptArmoredAndVerify
( armoredData: string, decryptionKeys: PrivateKey | PrivateKey[], verificationKeys: Pu
client/js/src/crypto/openPGPCrypto.ts:350
↓ 4 callersMethoddecryptSessionKey
* It decrypts session key from armored data. * * `decryptionKeys` are used to decrypt the session key from the `armoredData`.
client/js/src/crypto/driveCrypto.ts:336
↓ 4 callersMethoddecryptShare
* Decrypts a share using the node key. * * The share is encrypted with the node key and can be managed by any admin. * * Old share
client/js/src/internal/sharing/cryptoService.ts:124
↓ 4 callersMethoddispose
()
cli/src/commands/fileSystem/transferProgress.ts:12
↓ 4 callersMethodemitProgress
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/CommonUploadController.kt:34
↓ 4 callersMethodempty
(cacheDir: string)
cli/src/events/storage.ts:28
↓ 4 callersMethodencryptAndSignArmored
( data: Uint8Array<ArrayBuffer>, sessionKey: SessionKey | undefined, encryptionKeys: P
client/js/src/crypto/openPGPCrypto.ts:119
↓ 4 callersMethodencryptBookmark
( token: string, urlPassword: string, customPassword?: string, )
client/js/src/internal/sharing/cryptoService.ts:500
↓ 4 callersMethodencryptSessionKey
* It encrypts session key with provided encryption key.
client/js/src/crypto/driveCrypto.ts:238
↓ 4 callersMethodenqueueRemotePaths
( remotePathStrings: string[], localDir: string, resolveRemoteNode: (pathString: strin
cli/src/commands/fileSystem/transferQueue.ts:178
↓ 4 callersFunctioneventsJsonFile
(dir: string)
cli/src/events/storage.test.ts:11
↓ 4 callersFunctionexpectSamePrivateKeys
(a: CachedPrivateKey, b: CachedPrivateKey)
cli/src/cache/driveCryptoCacheAdapter.test.ts:183
↓ 4 callersFunctionexpectSameSessionKeys
(a: SessionKey, b: SessionKey)
cli/src/cache/driveCryptoCacheAdapter.test.ts:191
↓ 4 callersMethodfetchJson
(request: ProtonDriveHTTPClientJsonRequest)
client/js/src/interface/httpClient.ts:2
↓ 4 callersMethodfindPhotoDuplicates
(name: string, generateSha1: () => Promise<string>, signal?: AbortSignal)
client/js/src/internal/photos/timeline.ts:32
↓ 4 callersMethodflush
()
cli/src/telemetry/metricHandler.ts:45
↓ 4 callersMethodflush
()
cli/src/events/storage.ts:68
↓ 4 callersMethodgenerateHashKey
* It generates random 32 bytes that are encrypted and signed with * the provided key.
client/js/src/crypto/driveCrypto.ts:418
↓ 4 callersMethodgenerateNewFileCrypto
( parentFolderUid: string, name: string, )
client/js/src/internal/upload/manager.ts:67
↓ 4 callersFunctiongeneratePrivateKey
(name: string)
client/js/src/internal/nodes/cryptoCache.test.ts:11
↓ 4 callersFunctiongeneratePrivateKey
(name: string)
client/js/src/internal/shares/cryptoCache.test.ts:11
↓ 4 callersFunctiongenerateSessionKey
(name: string)
client/js/src/internal/nodes/cryptoCache.test.ts:15
↓ 4 callersFunctiongenerateSessionKey
(name: string)
client/js/src/internal/shares/cryptoCache.test.ts:15
↓ 4 callersMethodgetContextShareMemberEmailKey
(shareId: string)
client/js/src/internal/nodes/interface.ts:207
↓ 4 callersFunctiongetExpectedTreeNodeDetails
(expectedNode: ExpectedTreeNode)
client/js/src/diagnostic/nodeUtils.ts:51
↓ 4 callersMethodgetNameSessionKey
(node: { encryptedName: string }, parentKey: PrivateKey)
client/js/src/internal/nodes/cryptoService.ts:384
↓ 4 callersMethodgetPaths
(pathStrings: string[], supportedTypes?: PathType[], unsupportedTypeMessage?: string)
cli/src/cli/paths.ts:66
↓ 4 callersMethodgetProgressPointer
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/ProtonDriveSdkNativeClient.kt:423
↓ 4 callersMethodgetRootNode
(nodeUid: string)
client/js/src/internal/sharing/interface.ts:167
↓ 4 callersMethodgetSharePrivateKey
(shareId: string)
client/js/src/internal/nodes/interface.ts:203
↓ 4 callersFunctionhandleResponseErrors
( nodeUids: string[], volumeId: string, responses: LinkResponse[] = [], )
client/js/src/internal/nodes/apiService.ts:646
↓ 4 callersFunctionisInternalDriveEvent
( event: DriveEvent | InternalDriveEvent, )
client/js/src/internal/events/interface.ts:133
↓ 4 callersFunctionisNetworkError
(error: unknown)
client/js/src/internal/errors.ts:71
↓ 4 callersFunctionisNodeUid
(pathString: string)
cli/src/cli/paths.ts:441
↓ 4 callersMethodisNodeWithContent
(node: NodeEntity)
client/js/src/diagnostic/sdkDiagnosticBase.ts:364
↓ 4 callersFunctionisProtonSheet
(mediaType?: string)
client/js/src/internal/nodes/mediaTypes.ts:11
↓ 4 callersFunctionlinkToEncryptedNode
( logger: Logger, volumeId: string, link: Pick<PostLoadLinksMetadataResponse['Links'][0], 'Link' |
client/js/src/internal/nodes/apiService.ts:688
↓ 4 callersMethodloadVerificationData
()
client/js/src/internal/upload/blockVerifier.ts:35
↓ 4 callersMethodlog
(log: LogRecord)
client/js/src/telemetry.ts:157
↓ 4 callersMethodlogBlockVerificationError
(nodeUid: string, retryHelped: boolean)
client/js/src/internal/upload/telemetry.ts:29
↓ 4 callersFunctionmergeUint8Arrays
(arrays: Uint8Array[])
client/js/src/internal/utils.ts:1
↓ 4 callersFunctionmockDirLstatResult
(dev = 100)
cli/src/commands/fileSystem/transferQueue.test.ts:48
↓ 4 callersFunctionmockFolderMaybe
(name: string, uid: string)
cli/src/commands/fileSystem/transferQueue.test.ts:63
↓ 4 callersMethodnotifySessionInfoChanged
()
cli/src/credentials/credentials.ts:96
↓ 4 callersFunctionparseFileExtendedAttributes
( logger: Logger, creationTime: Date, extendedAttributes?: string, )
client/js/src/internal/nodes/extendedAttributes.ts:116
↓ 4 callersMethodprint
(options: { json: boolean })
cli/src/commands/fileSystem/transferSummary.ts:58
↓ 4 callersFunctionprintCommandUsage
(command: Command)
cli/src/cli/help.ts:51
↓ 4 callersMethodprintNodeHuman
(node: NodeEntity)
cli/src/commands/fileSystem/commandFileSystemList.ts:133
↓ 4 callersMethodrecordPerformance
( type: 'content_encryption' | 'content_decryption', sessionKey: SessionKey, bytesProc
client/js/src/crypto/driveCrypto.ts:836
↓ 4 callersMethodrecordSkip
(item: QueueItem<RemoteDataType>)
cli/src/commands/fileSystem/transferQueue.ts:103
↓ 4 callersMethodredraw
()
cli/src/commands/fileSystem/transferProgress.ts:159
↓ 4 callersMethodreleaseCapacity
()
client/js/src/internal/download/queue.ts:27
← previousnext →301–400 of 3,221, ranked by callers