Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      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.c
          8 kB
          Marvin Humphrey
        2. FSDirHandle.bp
          1 kB
          Marvin Humphrey
        3. fsdirhandle_tests.diff
          5 kB
          Marvin Humphrey

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: