| 104 | * 目录同步阶段状态。 |
| 105 | */ |
| 106 | export 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 | * 构造默认错误/警告状态。 |
nothing calls this directly
no outgoing calls
no test coverage detected