fix(provider(node)): use synchronous readdir to avoid partial results on some filesystems (e.g., XFS) when the process receives signals
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-03-05 - 1.3.2 - fix(provider(node))
|
||||
use synchronous readdir to avoid partial results on some filesystems (e.g., XFS) when the process receives signals
|
||||
|
||||
- Replaced async fs.readdir with fsSync.readdirSync in ts/providers/smartfs.provider.node.ts
|
||||
- Added comments explaining that async readdir can return partial results on XFS/mounted filesystems when the process receives signals; synchronous readdirSync completes the getdents64 syscall without event-loop interruption
|
||||
|
||||
## 2025-12-16 - 1.3.1 - fix(docs)
|
||||
docs(readme): add "Directory Copy & Move" section with examples and options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user