Re: File manager tree.




> In explorer under windows, you will find that it puts a [+] sign next to
> every directory on networked filesystems.  It only checks to see if it was
> appropriate to have it there when you try clicking on the expander (that
> is, if there were no subdirectories then the [+] sign disapears).
> 
> For slow filesystems/large directories, this can make quite a difference.
> So even explorer makes this sort of optimisations.

Ok, I think I can do this for a number of operating systems, but
getting the code right for every OS is going to be hard.  This is one
of those things that varies from unix implementation to the other.

Check mc/src/mountlist.c to get an idea of what I am talking about.

miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]