> *Dear Colleagues,*
>
> Can you help me to solve a problem? I want to scan entire file system,
> for example - / and put the results into TTreeView. So, what will be
> faster - to use FindFirst/FindNext circle or to use FPReadDir function?
> I am completing now the 3rd page of my SysInfo for Linux program that
> will show File System, size and usage information for all locally
> mounted FS.

If need performance and only need to have the filename you can use fpgetdents 
or the deprecated
fpreaddir. If you need all file information like size and modified timestamp 
then better use the
portable findfirst/findnext.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to