MCPcopy Create free account
hub / github.com/ShouChenICU/FastSend / createSenderCurrentFileState

Function createSenderCurrentFileState

app/types/transfer.ts:136–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 * 构造默认发送端文件状态。
135 */
136export function createSenderCurrentFileState(): SenderCurrentFileState {
137 return {
138 name: '',
139 size: 0,
140 transmittedBytes: 0,
141 lastBytes: 0,
142 speed: 0,
143 startTime: 0
144 }
145}
146
147/**
148 * 构造默认发送端状态。

Callers 2

senderTransfer.tsFile · 0.90
resetStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected