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/10/29 13:29:59 UTC
[jira] Updated: (LUCY-64) DirHandle
[ https://issues.apache.org/jira/browse/LUCY-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Humphrey updated LUCY-64:
--------------------------------
Attachment: DirHandle.c
DirHandle.bp
There are many cases where it is necessary to iterate over the entries within
the index directory or a segment subdirectory. Building up an entire array of
string entry names is wasteful if you're just going to iterate over the
array later. Since common operating systems provide a directory iterator
interface, we can wrap that, continuously updating a single entry rather than
cloning it with each iteration.
DirHandle is the abstract base class for such directory iterators.
> DirHandle
> ---------
>
> Key: LUCY-64
> URL: https://issues.apache.org/jira/browse/LUCY-64
> Project: Lucy
> Issue Type: Sub-task
> Components: Core
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Priority: Blocker
> Attachments: DirHandle.bp, DirHandle.c
>
>
> Iterate over the entries in a directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.