MCPcopy Create free account

hub / github.com/WCY-dt/EasyTransfer / functions

Functions74 in github.com/WCY-dt/EasyTransfer

↓ 29 callersFunctionapplyTheme
(theme: 'light' | 'dark' | 'auto')
client/src/utils/themeManager.ts:50
↓ 18 callersFunctionisLinkMessage
(text: string)
client/src/utils/msgType.ts:28
↓ 17 callersFunctionisImageType
(name: string)
client/src/utils/msgType.ts:32
↓ 16 callersFunctiondecideFileType
(name: string)
client/src/utils/msgType.ts:40
↓ 14 callersFunctionisVideoType
(name: string)
client/src/utils/msgType.ts:36
↓ 13 callersMethodencodeMetaMessage
* Encodes a metadata message
client/src/utils/fileProtocol.ts:106
↓ 10 callersFunctionhasConfusingCharacters
(id: string)
server/src/utils.ts:27
↓ 10 callersFunctionsendData
( data: ArrayBuffer | Uint8Array | string, meta: boolean = false, )
client/src/stores/send.ts:122
↓ 10 callersMethodstartTimeoutCheck
* Start timeout check
client/src/utils/retryManager.ts:21
↓ 9 callersMethodencodeFileChunk
* Encode file chunk
client/src/utils/fileProtocol.ts:70
↓ 8 callersFunctiongenerateId
(existingClients: Clients = {})
server/src/utils.ts:11
↓ 8 callersMethodparseMessage
* Check message type
client/src/utils/fileProtocol.ts:19
↓ 7 callersMethodgenerateFileId
* Generates a unique identifier for the file
client/src/utils/fileChunk.ts:92
↓ 7 callersMethodparseRetryData
* Parses retry request data
client/src/utils/fileProtocol.ts:127
↓ 7 callersMethodrequestMissingChunks
* Request missing chunks
client/src/utils/retryManager.ts:65
↓ 6 callersMethodcheckChunksComplete
* Checks if all chunks are complete
client/src/utils/fileChunk.ts:31
↓ 6 callersMethoddestroy
* Destroy the retry manager
client/src/utils/retryManager.ts:140
↓ 6 callersMethodparseFileChunk
* Parse file content chunk
client/src/utils/fileProtocol.ts:43
↓ 5 callersMethodcalculateExpectedChunks
* Calculates the expected number of chunks for a file
client/src/utils/fileChunk.ts:24
↓ 5 callersMethodencodeRetryMessage
* Encodes a retry request message
client/src/utils/fileProtocol.ts:114
↓ 5 callersFunctionupdateFileItemAttirbute
( index: number, key: K, value: ItemDisplayProps[K], )
client/src/stores/send.ts:43
↓ 4 callersMethodcalculateReceivedSize
* Calculates the received data size
client/src/utils/fileChunk.ts:83
↓ 4 callersMethodcheckFileNeedsRetry
* Check if file needs retry
client/src/utils/retryManager.ts:95
↓ 4 callersMethodfindMissingChunks
* Finds the indices of missing chunks
client/src/utils/fileChunk.ts:51
↓ 4 callersMethodisMaxRetriesExceeded
* Check if the file has exceeded the maximum retry attempts
client/src/utils/retryManager.ts:126
↓ 4 callersMethodsliceFile
* Splits a file into chunks
client/src/utils/fileChunk.ts:7
↓ 3 callersMethodmergeChunks
* Merges chunks into a Blob
client/src/utils/fileChunk.ts:69
↓ 3 callersMethodmergeChunksWithType
* Merges chunks into a Blob of a specific type
client/src/utils/fileChunk.ts:76
↓ 3 callersMethodresetFileRetryState
* Reset file retry state
client/src/utils/retryManager.ts:117
↓ 3 callersMethodstopTimeoutCheck
* Stop timeout check
client/src/utils/retryManager.ts:34
↓ 3 callersMethodupdateFileActivity
* Update file activity time
client/src/utils/retryManager.ts:133
↓ 3 callersMethodvalidateChunkIntegrity
* Validates chunk integrity
client/src/utils/fileChunk.ts:104
↓ 2 callersFunctionaddIceCandidate
()
client/src/stores/connect.ts:134
↓ 2 callersFunctionaddUploadFileItem
( url: string, name: string, size: number, progress: number, type: string, )
client/src/stores/send.ts:26
↓ 2 callersFunctioncheckSendFileAvailability
(size: number)
client/src/stores/send.ts:293
↓ 2 callersMethodhasPrefix
* Checks if the data has the specified prefix
client/src/utils/fileProtocol.ts:139
↓ 2 callersFunctionprocessQueue
(meta?: boolean)
client/src/stores/send.ts:130
↓ 2 callersFunctionsendIceCandidate
()
client/src/stores/connect.ts:60
↓ 2 callersFunctionsetLocale
(locale: string)
client/src/i18n/index.ts:31
↓ 2 callersFunctionupdateFileSuccess
(index: number, success: boolean)
client/src/stores/receive.ts:60
↓ 1 callersFunctionaddDownloadFileItem
( url: string, name: string, size: number, progress: number, type: string, )
client/src/stores/receive.ts:33
↓ 1 callersFunctionaddFileReader
()
client/src/stores/send.ts:280
↓ 1 callersMethodcheckForTimeoutsAndRetry
* Check for timeouts and request retry
client/src/utils/retryManager.ts:44
↓ 1 callersFunctioncheckSendTextAvailability
(text: string)
client/src/stores/send.ts:342
↓ 1 callersFunctionestablishDataChannel
()
client/src/stores/connect.ts:142
↓ 1 callersFunctionhandleFileContent
(data: ArrayBuffer)
client/src/stores/receive.ts:224
↓ 1 callersFunctionhandleFileMeta
(data: string)
client/src/stores/receive.ts:152
↓ 1 callersFunctionhandleReceiveChannelMsg
(event: MessageEvent)
client/src/stores/receive.ts:112
↓ 1 callersFunctionhandleRetryRequest
(data: string)
client/src/stores/receive.ts:141
↓ 1 callersFunctionhandleRetryRequest
(event: MessageEvent)
client/src/stores/send.ts:65
↓ 1 callersFunctionhandleServerMsg
()
client/src/stores/connect.ts:68
↓ 1 callersFunctioninitReceiveBuffer
()
client/src/stores/receive.ts:305
↓ 1 callersFunctioninitTheme
()
client/src/utils/themeManager.ts:72
↓ 1 callersFunctionplayNotificationSound
()
client/src/utils/soundNotification.ts:5
↓ 1 callersFunctionresendMissingChunks
(retryData: RetryData)
client/src/stores/send.ts:84
↓ 1 callersFunctionsendFileContent
(file: File, type: string, fileId: string)
client/src/stores/send.ts:200
↓ 1 callersFunctionsendFileMeta
(file: File, type: string)
client/src/stores/send.ts:182
↓ 1 callersFunctionsendSlices
(slices: Blob[], file: File, fileId: string)
client/src/stores/send.ts:227
↓ 1 callersFunctionsendTextContent
(text: string)
client/src/stores/send.ts:312
↓ 1 callersFunctionupdateFileProgress
(index: number, progress: number)
client/src/stores/receive.ts:50
↓ 1 callersFunctionupdateFileUrl
(index: number, url: string)
client/src/stores/receive.ts:55
FunctioncheckTurnServer
( testIceServers: IceServer[], )
client/src/utils/connectionTest.ts:3
FunctionconnectTarget
()
client/src/stores/connect.ts:42
Methodconstructor
( activeFiles: Map<string, FileReceiveState>, sendRetryRequest: (retryData: RetryData) => void, )
client/src/utils/retryManager.ts:10
Methodconstructor
(init: RTCSessionDescriptionInit)
client/tests/webrtc.test.ts:67
Methodconstructor
(init: RTCIceCandidateInit)
client/tests/webrtc.test.ts:75
FunctiongetSendChannelState
()
client/src/stores/connect.ts:176
FunctionhandleChange
()
client/src/utils/themeManager.ts:90
FunctioninitializeConnection
()
client/src/stores/connect.ts:25
FunctionreceiveFiles
()
client/src/stores/receive.ts:74
FunctionregisterClient
()
client/src/stores/connect.ts:38
FunctionsendFiles
(files: File[], type: string)
client/src/stores/send.ts:156
FunctionsendRetryRequest
(retryData: RetryData)
client/src/stores/receive.ts:66
FunctionsendText
(text: string)
client/src/stores/send.ts:308