Rob Audenaerde created LUCENE-7366:
--------------------------------------

             Summary: Allow RAMDirectory to copy any Directory 
                 Key: LUCENE-7366
                 URL: https://issues.apache.org/jira/browse/LUCENE-7366
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Rob Audenaerde


The FSDirectory passed to RAMDirectory could be changed to Directory easily. 
The additional check for "not is a directory inode" is in my opinion lo longer 
needed, because listFiles should only return files.

Use case: For increasing the speed of some of my application tests, I want to 
re-use/copy a pre-populated RAMDirectory over and over. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to