Ptipiak
88bebb8aac
Using faccess lib to detect executable files
...
* The detection of executable files was not exactly the same as
the original find
2022-11-15 10:31:44 +01:00
Tavian Barnes
cbc6ddeefc
Implement --type executable on Windows
...
Fixes #1051 .
2022-09-11 20:46:19 +02:00
Jonathan Goren
3dc61b5f28
rename module entry -> dir_entry
2021-12-11 15:43:52 +02:00
Jonathan Goren
813a802b2c
send DirEntries to output instead of just path
2021-12-11 15:42:07 +02:00
Thayne McCombs
5ea7cb7a05
A couple of minor recommendations from the Code Quality action ( #903 )
...
use derive for a Default impl, and use a function directly instead of
needlessly wrapping it in a closure
2021-12-07 10:04:17 -07:00
Tavian Barnes
7b5b3ec47b
walk: Add a cache for DirEntry metadata
2021-10-13 09:13:44 +02:00
Thayne McCombs
00eb6461cb
Remove an unnecessary reference. ( #864 )
...
This was caught by Code Quality github action with the message:
> this expression borrows a reference (`&walk::DirEntry`) that is immediately dereferenced by the compiler
2021-10-12 00:46:15 -06:00
Thayne McCombs
115ae93df9
Refactor file types check to be on impl of FileTypes
...
Relates to #382
2021-08-10 20:30:23 +02:00
sharkdp
cb56add1d8
Add new --type socket
and --type pipe
filters
...
closes #511
2020-04-16 09:59:45 +02:00
sharkdp
5c27ab1a06
Move filetypes up from 'internal'
2020-04-03 22:36:32 +02:00