Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Core
    • 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.

      Attachments

        1. fsdirhandle_tests.diff
          5 kB
          Marvin Humphrey
        2. FSDirHandle.c
          8 kB
          Marvin Humphrey
        3. FSDirHandle.bp
          1 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: