Files
spacedrive/core/tests
Jamie Pine a292cc31cc fix: resolve async/await issues in file transfer path validation
- Changed get_all_allowed_paths() to async to properly await library manager operations
- Changed is_path_allowed() to async and fixed RwLock held across await points
- Changed validate_path_access() to async for consistency
- Replaced blocking_read() and block_on() with proper async/await
- Clone RwLock data before await to ensure future is Send
- Updated all call sites to use .await
- Improved error logging with structured tracing

This fixes compilation errors where futures were not Send due to
RwLockReadGuard being held across await points, and prevents potential
deadlocks from blocking operations in async contexts.

Fixes the file_transfer_test which now passes successfully.
2025-12-30 10:50:30 -08:00
..
2025-12-03 15:56:27 -08:00
2025-10-18 10:33:20 -07:00
2025-10-11 13:14:01 -07:00
2025-10-11 13:14:01 -07:00
2025-10-11 13:14:01 -07:00
2025-10-11 13:14:01 -07:00
2025-12-03 15:56:27 -08:00
2025-10-11 13:14:01 -07:00
2025-10-11 13:14:01 -07:00