Expand description
vdsl-sync — N-location file synchronization engine.
Topology-centric model: TopologyFile (identity) + LocationFile (per-location state)
- RouteGraph (DAG) による分散ファイルストレージの同期エンジン。
§Architecture
- Domain — core entities ([
TopologyFile], [LocationFile], [Transfer],LocationId) - Application — use-case orchestration (
SdkImpl, [TopologyStore], [TopologyScanner]) - Infrastructure — persistence and transfer (
TransferStore,StorageBackend)
Structs§
- Cloud
Location - Cloud storage の拠点。
- Djb2
Hasher - Default hasher: DJB2 for all files + PNG IHDR+IDAT semantic hash.
- Error
Entry - 失敗したTransferの表示情報。
- File
Fingerprint - ファイル同一性判定に使用するフィンガープリント。
- File
Inspection - Per-file inspection result from batch_inspect.
- Local
Location - ローカルファイルシステムの拠点。
- Location
Id - Identifier for a sync location.
- Location
Summary - Per-location count of files by state.
- Pending
Entry - 待機中Transferの表示情報。
- Presence
View - 特定locationでのファイルの存在状況ビュー。
- PutReport
- put() の結果。
- Rclone
Backend - Rclone CLI storage backend.
- SdkImpl
- SyncStoreSdkの本実装。
- SdkImpl
Builder - SdkImplのビルダー。
- Shell
Output - Output from a shell command execution.
- Sqlite
Sync Store - SQLite-backed sync store.
- SshLocation
- SSH経由リモートホストの拠点。
- Sync
Report - sync/sync_route の結果。
- Sync
Report Conflict - コンフリクト報告。SDK面の型。
- Sync
Report Error - 転送失敗の詳細。
- Sync
Summary - Aggregated sync status across all locations.
- TaskId
- Opaque task identifier (UUID v4).
- Topology
File View - TopologyFileとその全LocationFileを束ねたビュー。
Enums§
- File
Type - Type of file tracked by the sync engine.
- Fingerprint
Precision - フィンガープリントが保持する情報の精度レベル。
- Infra
Error - インフラストラクチャ障害。
- Presence
State - 特定locationでのファイルの存在状態。
- Sync
Error - Sync engine の統合エラー。
- Task
Status - Status of a background task.
Traits§
- Content
Hasher - Pluggable content identity resolver.
- Location
- 拠点の多態抽象。
- Location
File Store - LocationFile永続化。
- Remote
Shell - Abstract shell for executing commands on a location’s host.
- Storage
Backend - Abstract file transfer backend.
- Sync
Store Sdk - vdsl-syncの外部向けAPI。
- Topology
File Store - TopologyFile永続化。
- Transfer
Store - Transfer永続化。
Type Aliases§
- Progress
Fn - Progress callback for reporting transfer phase changes.