pub fn get_sync_status(
storage: &SqliteStorage,
export_dir: &Path,
project_path: &str,
) -> SyncResult<SyncStatus>Expand description
Get the current sync status for a project.
This queries the database for dirty record counts (filtered by project) and checks the export directory for existing JSONL files.
§Arguments
storage- Database storageexport_dir- Directory where export files are storedproject_path- Project path to filter records by
§Errors
Returns an error if database queries fail.