Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
FSDirHandle is an implementation of DirHandle for dealing with the regular
file system. It's essentially a wrapper around the OS directory iterator - a
DIR* on unixen, and a HANDLE opened with FindFirstFile() on Windows.
Using a directory iterator rather than first dumping the directory contents
into an array and iterating over that is more efficient in many cases, e.g.
when looking for a file name that matches a pattern.
The test cases for FSDirHandle depend on FSFolder and will be added
later.