Use the chosen file info, not a zero size, to tell whether a candidate
was chosen, so smallest_size keeps an empty file and largest_size can
choose one.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| testdata | ||
| browse.go | ||
| browse.html | ||
| browsetplcontext.go | ||
| browsetplcontext_bench_test.go | ||
| browsetplcontext_test.go | ||
| caddyfile.go | ||
| command.go | ||
| matcher.go | ||
| matcher_test.go | ||
| staticfiles.go | ||
| staticfiles_hide_test.go | ||
| staticfiles_test.go | ||
| staticfiles_windows_test.go | ||