Feature request: Everything_IsItIndexed

Have a suggestion for "Everything"? Please post it here.
Post Reply
Janus
Posts: 73
Joined: Mon Nov 07, 2016 7:33 pm

Feature request: Everything_IsItIndexed

Post by Janus » Sun Aug 26, 2018 4:55 am

There is currently a way to check if a file is in the DB.
I am requesting a way to see if a directory/folder is in it.
I want it to accept files/folders/directories, but that might very hard to implement, and slow.
So I am hoping for Everything_IsFolderInfoIndexed to compliment Everything_IsFileInfoIndexed.

I am currently using everything with a custom fork of explorer++ to enable folder sizes.
Currently, I use a mixture of partition formats and have lan shares, so making it universal is proving to be a challenge.
Once I have it stable, I will be posting my code, with inline notes pointing to my cahnges, so anyone who is interested can use it.


Janus.

void
Site Admin
Posts: 4831
Joined: Fri Oct 16, 2009 11:31 pm

Re: Feature request: Everything_IsItIndexed

Post by void » Sun Aug 26, 2018 10:54 am

Everything_IsFileInfoIndexed applies to folders too.

This returns what extended file information is indexed, such as size and date modified.

I think you want a function to see if a file or folder is indexed by filename?

I have this on my TODO list for the next version of Everything.

Janus
Posts: 73
Joined: Mon Nov 07, 2016 7:33 pm

Re: Feature request: Everything_IsItIndexed

Post by Janus » Sun Aug 26, 2018 4:18 pm

The documentation was unclear if it applied to directory/folders as well.
The clarification is appreciated.

In the meantime, would it work to use Everything_IsFileInfoIndexed to get recorded attributes, then treat zero recorded attributes as not being in the index?
Or are there some circumstances where this might not be true?

I look forward to the next version of everything.


Janus.

void
Site Admin
Posts: 4831
Joined: Fri Oct 16, 2009 11:31 pm

Re: Feature request: Everything_IsItIndexed

Post by void » Sun Aug 26, 2018 11:01 pm

The documentation was unclear if it applied to directory/folders as well.
The clarification is appreciated.
Added to Everything_ipc.h for the next release.
In the meantime, would it work to use Everything_IsFileInfoIndexed to get recorded attributes, then treat zero recorded attributes as not being in the index?
No, Everything_IsFileInfoIndexed simply returns a database flag. It is not per file or folder.
Everything_IsFileInfoIndexed applies to all files and folders in the database.

Post Reply