Skip to content

Dynamic file and folder list. #256

@myearwood1

Description

@myearwood1

📝 Provide a description of the new feature

What is the expected behavior of the proposed feature? What is the scenario this would be used?

@Jimrnelson

I suspect that even with Grep, GoFish is still using some method to access the directory, such as recursing folders with ADIR or multiple calls to DIR *.prg>outputfile, DIR *.??a>outputfile.txt

What if there was a table that was updated in the background while a developer works? GoFish could access that table and do a single query like this:
select * from c_temp where inlist(fileext,'PRG','SCA','FRA','VCA','LBA','MNA') into cursor c_temp1 NOFILTER

That takes .4 seconds on a cursor with all the files in my c drive. 992,000 files. I tried my DirX on my dev folder to build a cursor of all files which took .21 seconds. The query above took .012 seconds.

This could be a separate project. Do you see it saving you time and/or reducing programming? It would need start, stop and refresh functions. It should use buffering to update the table.


If you'd like to see this feature implemented, add a 👍 reaction to this post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions