MCPcopy Create free account

hub / github.com/ProtonDriveApps/sdk / functions

Functions3,221 in github.com/ProtonDriveApps/sdk

↓ 160 callersMethodinfo
(message: string, ...args: unknown[])
incubating/account/js/src/logger.ts:3
↓ 147 callersMethodresolve
(name: string, kind: ConflictTargetKind)
cli/src/commands/fileSystem/transferConflictResolver.ts:56
↓ 133 callersFunctiongetUid
(nodeUid: NodeUid)
client/js/src/transformers.ts:41
↓ 84 callersMethoddebug
(message: string, ...args: unknown[])
incubating/account/js/src/logger.ts:2
↓ 83 callersFunctionresultOk
(value: T)
client/js/src/interface/result.ts:3
↓ 76 callersMethodgetNode
(nodeUid: string)
client/js/src/internal/download/interface.ts:25
↓ 67 callersMethodget
(url: string, signal?: AbortSignal)
client/js/src/internal/apiService/apiService.ts:131
↓ 66 callersFunctionsplitNodeUid
(nodeUid: string)
client/js/src/internal/uids.ts:13
↓ 64 callersMethodlog
(log: LogRecord)
client/js/src/telemetry.ts:23
↓ 63 callersMethoderror
(message: string, ...args: unknown[])
incubating/account/js/src/logger.ts:5
↓ 58 callersMethodwarn
(message: string, ...args: unknown[])
incubating/account/js/src/logger.ts:4
↓ 54 callersFunctionmakeNodeUid
(volumeId: string, nodeId: string)
client/js/src/internal/uids.ts:9
↓ 52 callersFunctionresultError
(error: E)
client/js/src/interface/result.ts:7
↓ 51 callersMethodgetLogger
()
client/js/src/internal/events/interface.ts:148
↓ 51 callersFunctiongetMockLogger
()
client/js/src/tests/logger.ts:3
↓ 46 callersMethodExpecting
(this HttpClient httpClient, JsonTypeInfo<TSuccess> successTypeInfo)
client/cs/src/Proton.Sdk/Api/Http/HttpClientExtensions.cs:7
↓ 45 callersMethodread
* Read a specific number of bytes from the stream at the current position. * * @param numBytes - The number of bytes to read. * @return
client/js/src/interface/download.ts:89
↓ 42 callersMethodgetNodeKeys
(nodeUid: string)
client/js/src/internal/download/interface.ts:26
↓ 41 callersMethodonEvent
(metric: MetricRecord<T>)
client/js/src/telemetry.ts:36
↓ 38 callersMethodGetCancellationToken
(long cancellationTokenSourceHandle)
client/cs/src/Proton.Drive.Sdk.CExports/Interop.cs:42
↓ 38 callersMethoddecryptNode
( node: EncryptedNode, parentKey: PrivateKey, )
client/js/src/internal/nodes/cryptoService.ts:85
↓ 34 callersMethodInvoke
(T arg)
client/cs/src/Proton.Drive.Sdk.CExports/InteropAction.cs:22
↓ 32 callersMethodfilter
* @returns False if the log should be ignored.
client/js/src/telemetry.ts:233
↓ 32 callersFunctionverifyResult
( result: { node: DecryptedUnparsedNode; keys?: DecryptedNodeKeys }, expectedNode: Par
client/js/src/internal/nodes/cryptoService.test.ts:162
↓ 30 callersMethoddelete
( url: string, data?: RequestPayload, signal?: AbortSignal, )
client/js/src/internal/apiService/apiService.ts:159
↓ 29 callersFunctioncancellationCoroutineScope
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/CancellationCoroutineScope.kt:10
↓ 28 callersMethodToString
()
client/cs/src/Proton.Drive.Sdk.CExports/InteropAction.cs:27
↓ 28 callersMethoditerateNodes
(nodeUids: string[], signal?: AbortSignal)
client/js/src/internal/download/interface.ts:27
↓ 28 callersMethodsetEntity
* Adds or updates entity in the local database. * * The `tags` is a list of strings that should be stored properly for fast * look-up.
client/js/src/cache/interface.ts:63
↓ 27 callersFunctionreduceSizePrecision
(size: number)
client/js/src/telemetry.ts:356
↓ 25 callersMethodshareNode
(nodeUid: string, settings: ShareNodeSettings)
client/js/src/internal/sharing/sharingManagement.ts:144
↓ 24 callersMethodAllocHandle
(T obj)
client/cs/src/Proton.Drive.Sdk.CExports/Interop.cs:8
↓ 24 callersFunctionexpectSDKEvents
(...events: SDKEvent[])
client/js/src/internal/apiService/apiService.test.ts:40
↓ 24 callersFunctiongetErrorMessage
(error: unknown)
client/js/src/internal/errors.ts:10
↓ 24 callersMethodgetLatestEventId
* Returns the latest event ID for the subscription. * * @deprecated This is experimental to provide a way to the client to know * the l
client/js/src/internal/events/interface.ts:25
↓ 23 callersMethodGetAsync
(string requestUri, CancellationToken cancellationToken)
client/cs/src/Proton.Sdk/Api/Http/HttpApiCallBuilder.cs:22
↓ 23 callersMethodTryGetValue
(this Result<T, TError> result, [MaybeNullWhen(false)] out T value)
client/cs/src/Proton.Sdk/ResultExtensions.cs:26
↓ 23 callersMethodwrite
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/HttpStream.kt:31
↓ 22 callersMethodgetRootIDs
()
client/js/src/internal/events/interface.ts:153
↓ 21 callersMethodParse
(string s)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeUid.cs:31
↓ 21 callersMethodTryGetValueElseError
([NotNullWhen(true)] out T? value, [NotNullWhen(false)] out TError? error)
client/cs/src/Proton.Sdk/Result.cs:57
↓ 21 callersMethodgetEntity
* Returns the data of the entity stored locally. * * @throws Exception if entity is not present.
client/js/src/cache/interface.ts:70
↓ 21 callersFunctiongetMockTelemetry
()
client/js/src/tests/telemetry.ts:4
↓ 21 callersMethodnotifyNodeChanged
(nodeUid: string)
client/js/src/internal/upload/interface.ts:111
↓ 21 callersFunctionprocessDriveRequirementHeaders
( headers: Headers, options: ProcessDriveRequirementHeadersOptions, )
cli/src/api/apiRequirements.ts:32
↓ 21 callersMethodsetLatestEventId
(context: EventsContext, treeEventScopeId: string, eventId: string)
cli/src/events/interface.ts:8
↓ 20 callersFunctiongenerateHeaders
(options?: { features?: string, platform?: string, })
cli/src/api/apiRequirements.test.ts:9
↓ 20 callersMethodparse
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/internal/BaseContinuationResponse.kt:19
↓ 20 callersFunctionparseStoredSnapshot
(raw: string | null)
cli/src/credentials/parseCredentials.ts:3
↓ 20 callersFunctionsplitNodeRevisionUid
(nodeRevisionUid: string)
client/js/src/internal/uids.ts:22
↓ 19 callersMethodGetLogger
(string name)
client/cs/src/Proton.Drive.Sdk.CExports/InteropTelemetry.cs:16
↓ 19 callersMethodPostAsync
( string requestUri, TRequestBody body, JsonTypeInfo<TRequestBody> bodyTypeInfo,
client/cs/src/Proton.Sdk/Api/Http/HttpApiCallBuilder.cs:35
↓ 19 callersMethodclose
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/SdkNode.kt:11
↓ 19 callersFunctionexecuteProcess
(photoUids: string[])
client/js/src/internal/photos/addToAlbum.test.ts:86
↓ 19 callersMethoditerateThumbnails
(nodeUids: string[], thumbnailType: ThumbnailType)
client/js/src/diagnostic/sdkDiagnosticBase.ts:11
↓ 19 callersFunctionsanitizePathSegmentForLocalFilesystem
(name: string)
cli/src/commands/fileSystem/downloadPathValidation.ts:88
↓ 19 callersFunctionsanitizeTerminalText
(value: unknown)
cli/src/cli/formatters.ts:89
↓ 18 callersMethodclear
()
cli/src/events/interface.ts:10
↓ 18 callersMethoditerateFolderChildren
* Iterates the children of the given parent node. * * The output is not sorted and the order of the children is not guaranteed. *
client/js/src/protonDriveClient.ts:477
↓ 18 callersMethodwaitForCapacity
(expectedSize: number, signal?: AbortSignal)
client/js/src/internal/upload/queue.ts:41
↓ 17 callersFunctiongetUids
(nodeUids: NodeUid[])
client/js/src/transformers.ts:56
↓ 17 callersFunctiononProgress
incubating/client/kt/sdk/src/main/jni/proton_drive_sdk.c:82
↓ 16 callersFunctiongenerateNode
( uid: string, parentUid = 'root', params: Partial<DecryptedNode> & { volumeId?: string } = {}, )
client/js/src/internal/nodes/cache.test.ts:7
↓ 16 callersMethoditerateEntitiesByTag
* Generator providing the data of the entities stored locally for given * filter option. * * No exception is thrown when data is missin
client/js/src/cache/interface.ts:94
↓ 16 callersMethodrecordMetric
(event: MetricEvent)
client/js/src/diagnostic/telemetry.ts:23
↓ 15 callersMethodseek
* Seek to the given position in the stream from the beginning of the stream. * * @param position - The position to seek to in bytes.
client/js/src/interface/download.ts:96
↓ 15 callersFunctionvalidSnapshot
(overrides: Record<string, unknown> = {})
cli/src/credentials/parseCredentials.test.ts:3
↓ 14 callersMethodSetAsync
(string key, string value, IEnumerable<string> tags, CancellationToken cancellationToken)
client/cs/src/Proton.Sdk/Caching/ICacheRepository.cs:5
↓ 14 callersMethodToProtonDriveError
(this Exception exception)
client/cs/src/Proton.Drive.Sdk/ExceptionExtensions.cs:27
↓ 14 callersFunctiongetBlockIndex
( claimedBlockSizes: number[] | undefined, position: number, )
client/js/src/internal/download/blockIndex.ts:3
↓ 14 callersFunctiongetNodeDetails
(node: NodeEntity)
client/js/src/diagnostic/nodeUtils.ts:4
↓ 14 callersFunctiongetTokenAndPasswordFromUrl
(url: string)
client/js/src/internal/sharingPublic/session/url.ts:13
↓ 14 callersFunctiongetUnauthEndpoint
(url: string)
client/js/src/internal/sharingPublic/unauthApiService.ts:27
↓ 14 callersMethodincrement
(labels: D['Labels'], value = 1)
cli/src/telemetry/metrics/lib/counter.ts:5
↓ 14 callersMethodload
()
cli/src/credentials/interface.ts:12
↓ 14 callersMethodtoString
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/ProtonDriveSdkException.kt:8
↓ 14 callersFunctionverifyLogEventVerificationError
(options = {})
client/js/src/internal/nodes/cryptoService.test.ts:106
↓ 14 callersMethodwaitForLoadingNode
(nodeUid: string)
client/js/src/internal/nodes/debouncer.ts:84
↓ 13 callersMethodAsSpan
()
client/cs/src/Proton.Drive.Sdk.CExports/InteropArray.cs:26
↓ 13 callersFunctionNodeUid
incubating/client/kt/sdk/src/main/kotlin/me/proton/drive/sdk/entity/NodeUid.kt:5
↓ 13 callersMethodToInterop
()
client/cs/src/Proton.Drive.Sdk.CExports/InteropConversionExtensions.cs:12
↓ 13 callersFunctionassertValidPathSegment
(name: string)
cli/src/commands/fileSystem/downloadPathValidation.ts:62
↓ 13 callersMethodcreateFolder
( parentKeys: { key: PrivateKey; hashKey: Uint8Array<ArrayBuffer> }, signingKeys: NodeSigningK
client/js/src/internal/nodes/cryptoService.ts:610
↓ 13 callersMethodfinishedLoadingNode
(nodeUid: string)
client/js/src/internal/nodes/debouncer.ts:73
↓ 13 callersFunctiongenerateOkResponse
()
client/js/src/internal/apiService/apiService.test.ts:10
↓ 13 callersMethodgetNodeSigningKeys
( uids: { nodeUid: string; parentNodeUid?: string } | { nodeUid?: string; parentNodeUid: string },
client/js/src/internal/upload/interface.ts:107
↓ 13 callersFunctionisNotApplicationError
(error?: unknown)
client/js/src/internal/errors.ts:49
↓ 13 callersMethodkeys
( email: string, )
incubating/account/js/src/accountApi.ts:233
↓ 13 callersMethodpreparePhotoPayloads
* Prepares encrypted payloads for the given photo items using the provided * target keys and signing keys. Used for add-to-album (album keys) and
client/js/src/internal/photos/photosTransferPayloadBuilder.ts:55
↓ 13 callersFunctionprintIterable
( iterable: AsyncIterable<T> | T[], json: boolean, humanReadableWriter: (item: T) => void = (item)
cli/src/cli/formatters.ts:15
↓ 13 callersMethodremoveEntities
* Removes completely the entity stored locally from the database. * * It is no-op if entity is not present.
client/js/src/cache/interface.ts:101
↓ 12 callersMethodSetNodeAsync
(NodeUid nodeId, Node node, ShareId? membershipShareId, ReadOnlyMemory<byte> nameHashDigest, CancellationToken
client/cs/src/Proton.Drive.Sdk/Caching/IEntityCache.cs:8
↓ 12 callersMethodToArray
()
client/cs/src/Proton.Drive.Sdk.CExports/InteropArray.cs:16
↓ 12 callersMethodToAuthorshipResult
( this AuthorshipClaim authorshipClaim, AuthorshipVerificationFailure? verificationFailure)
client/cs/src/Proton.Drive.Sdk/Nodes/AuthorshipClaimExtensions.cs:8
↓ 12 callersFunctionapiErrorFactory
({ response, result, error, }: { response?: Response; result?: unknown; error?: unknow
client/js/src/internal/apiService/errors.ts:6
↓ 12 callersMethoddispose
()
cli/src/events/interface.ts:11
↓ 12 callersMethoddownloadFailed
(revisionUid: string, error: unknown, downloadedSize: number, claimedFileSize?: number)
client/js/src/internal/download/telemetry.ts:42
↓ 12 callersMethodgenerateKey
* It generates passphrase and key that is encrypted with the * generated passphrase. * * `encrpytionKeys` are used to generate session
client/js/src/crypto/driveCrypto.ts:67
↓ 12 callersMethodgenerateLookupHash
(newName: string, parentHashKey: Uint8Array<ArrayBuffer>)
client/js/src/crypto/driveCrypto.ts:442
↓ 12 callersMethodloadRest
()
client/js/src/internal/batchLoading.ts:72
next →1–100 of 3,221, ranked by callers