You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/12/07 01:05:18 UTC

[jira] Created: (LUCY-84) FSDirHandle

FSDirHandle
-----------

                 Key: LUCY-84
                 URL: https://issues.apache.org/jira/browse/LUCY-84
             Project: Lucy
          Issue Type: Sub-task
          Components: Core
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
            Priority: Blocker


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LUCY-84) FSDirHandle

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-84.
---------------------------------

    Resolution: Fixed

Committed as r887808.

> FSDirHandle
> -----------
>
>                 Key: LUCY-84
>                 URL: https://issues.apache.org/jira/browse/LUCY-84
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: FSDirHandle.bp, FSDirHandle.c
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCY-84) FSDirHandle

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-84:
--------------------------------

    Attachment: fsdirhandle_tests.diff

Reopening issue for patchfile fsdirhandle_tests.diff, which can be added now 
that FSFolder is available.  Committed as r891011.

> FSDirHandle
> -----------
>
>                 Key: LUCY-84
>                 URL: https://issues.apache.org/jira/browse/LUCY-84
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: FSDirHandle.bp, FSDirHandle.c, fsdirhandle_tests.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCY-84) FSDirHandle

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-84:
--------------------------------

    Attachment: FSDirHandle.c
                FSDirHandle.bp

> FSDirHandle
> -----------
>
>                 Key: LUCY-84
>                 URL: https://issues.apache.org/jira/browse/LUCY-84
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: FSDirHandle.bp, FSDirHandle.c
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.