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

Interface SyncDirState

app/types/transfer.ts:106–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 * 目录同步阶段状态。
105 */
106export interface SyncDirState {
107 folderName: string
108 isWaitingSelectDir: boolean
109 isDiffing: boolean
110 /** 是否使用快速对比模式(仅比较大小和修改时间,不计算哈希) */
111 isQuickDiff: boolean
112 fileMapAdd: FlatFileMap
113 fileMapUpdate: FlatFileMap
114 fileMapDelete: FlatFileMap
115 addKeys: Record<string, boolean>
116 updateKeys: Record<string, boolean>
117 deleteKeys: Record<string, boolean>
118 waitAddList: string[]
119 waitUpdateList: string[]
120 waitDeleteList: string[]
121}
122
123/**
124 * 构造默认错误/警告状态。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected