Commit graph

744 commits

Author SHA1 Message Date
sharkdp
a3200204dc Simplifications to --size tests 2018-04-29 22:26:10 +02:00
Jonathan
e2b2701965 Add helper method to create sized files, use meaningful names and add kibi and kilo tests. 2018-04-29 21:56:31 +02:00
Jonathan
409cf0c7a1 Remove use (which broke the build) 2018-04-29 21:56:31 +02:00
Jonathan
f01685c63f Add tests for SizeFilter (--size) fixes sharkdp/fd#289 2018-04-29 21:56:31 +02:00
David Peter
060d14b5dc
Update README.md 2018-04-26 19:53:04 +02:00
Rainer Müller
fe922688b3 README: Add install instructions for MacPorts 2018-04-26 19:51:04 +02:00
sharkdp
4172ed03f0 Do not include non-files when using --size 2018-04-25 23:08:05 +02:00
Steve Pentland
0bbc7f5219 Update regex and match, update comments 2018-04-25 08:14:12 +02:00
Steve Pentland
ace3f512d3 Make compatible with min rust version 2018-04-25 08:14:12 +02:00
Steve Pentland
2f3b472dfd Changes from review 2018-04-25 08:14:12 +02:00
Steve Pentland
0207c1371e Initial impl of size constraints.
This adds find-style size constraints with + or - indicating greater
or less than, a numerical size, and a unit
2018-04-25 08:14:12 +02:00
David Peter
fea85dbfb3 Re-enable nightly 2018-04-21 12:54:00 +02:00
sharkdp
b5e5b132c8 Temporarily disable nightly, rustc-ap-rustc_errors is broken 2018-04-20 08:28:18 +02:00
sharkdp
6a9f16e159 Run latest version of rustfmt 2018-04-13 23:13:22 +02:00
sharkdp
f02b3cba6a Fix typos 2018-04-13 23:13:22 +02:00
Chen Bin
666f90db87 Re-org fzf part. Doc on using fd with Emacs 2018-04-13 23:13:22 +02:00
Avindra Goolcharan
2a1ee0b17d README: openSUSE package available
add software.opensuse.org link and `zypper in fd`
2018-04-01 17:25:23 +02:00
sharkdp
388b90e624 Update USAGE and man page 2018-03-26 10:25:33 +02:00
sharkdp
011e09840a Bump version number 2018-03-26 10:16:18 +02:00
sharkdp
37483036e0 Implement --ignore-file 2018-03-26 08:28:22 +02:00
David Peter
8c1b037279
Normalize absolute paths, fixes #268 (#270)
* Normalize absolute paths, fixes #268
* Split unit tests into several tests
2018-03-25 23:47:58 +02:00
sharkdp
f9a32583a5 Move is_executable to fshelper module 2018-03-25 19:48:09 +02:00
sharkdp
9d840dd485 Separate unit tests 2018-03-25 19:00:46 +02:00
sharkdp
4f6c43a6dc Unit test for --type x 2018-03-25 18:37:50 +02:00
sharkdp
2cf8e7b8a5 Move is_executable to internal module 2018-03-25 18:37:50 +02:00
Pramod Bisht
67f6fdf6a7 Code formating 2018-03-25 16:53:12 +02:00
Pramod Bisht
8ce127e443 changed executable=> executable_only 2018-03-25 16:53:12 +02:00
Pramod Bisht
b1e48efc4a Addresses #246
Some implementation to search by filetype `executables`
2018-03-25 16:53:12 +02:00
joachimschmidt557
ab3ded8d27 Update README.md 2018-03-16 06:11:32 +01:00
sharkdp
5397787824 Skip fifos, sockets, .. when using --type f/d/l 2018-03-15 21:38:52 +01:00
sharkdp
ffd49c60bd Error if user supplied path instead of pattern 2018-03-15 07:53:00 +01:00
sharkdp
89a8f5573d Formatting change 2018-03-15 07:53:00 +01:00
sharkdp
d49b0aa977 Fix small mistake in README 2018-03-14 22:40:49 +01:00
KmBKeef
ddddc3f1db fd on Fedora copr (#255)
created fd rpm and added it to Fedora copr
2018-03-14 21:12:16 +01:00
David Peter
87d0ccd4c0
Documentation for -E and .fdignore, see #156 2018-03-13 22:54:08 +01:00
sharkdp
c654159bf2 Update to ansi_term 0.11 2018-03-12 23:19:20 +01:00
Josh Stone
588b0dc7c9 Update to regex-syntax 0.5
The new regex 0.2.7 has updated to regex-syntax 0.5, so it seems prudent
to update fd's dependency too, if only to avoid duplication.
2018-03-12 22:11:00 +01:00
sharkdp
88fb9d73d1 Run updated version of rustfmt 2018-03-12 17:46:13 +01:00
sharkdp
3386b854b0 Run invalid-utf8 on Linux only 2018-02-26 08:20:31 +01:00
sharkdp
47d95284aa Skip invalid utf8 filenames, closes #250 2018-02-26 08:20:31 +01:00
sharkdp
631931b431 Only construct entry_path if needed 2018-02-25 18:17:11 +01:00
sharkdp
40d811c7be Rewrite of file-type filtering leading to 5% speed-up 2018-02-25 18:17:11 +01:00
sharkdp
e5ee5eb7b3 Minor speedup for strip_prefix 2018-02-25 10:25:59 +01:00
David Peter
82eeeda504
Update README.md 2018-02-24 12:07:24 +01:00
Chawye Hsu
f16552f29c Add a installation method for Windows 2018-02-24 12:06:46 +01:00
sharkdp
e30bc16780 Fix symlink filetype shortcut in man page 2018-02-21 22:58:22 +01:00
sharkdp
b4be1f161c Add support for .fdignore files 2018-02-21 22:55:26 +01:00
sharkdp
8805bd32e2 Update dependencies 2018-02-21 22:55:26 +01:00
Pramod Bisht
7a3994decb Changes as per the instruction of cargo fmt -- --write-mode=diff 2018-02-19 21:17:11 +01:00
Pramod Bisht
7e8c2248d0 Fixes: #234
Giving suggestion to use `--fixed-strings` in case user passes invalid metacharacters as a regex.
2018-02-19 21:17:11 +01:00