eza-community / eza

A modern alternative to ls
https://eza.rocks
European Union Public License 1.2
11.36k stars 204 forks source link

fix(symlink): fix --dereference --sort=size #996

Open MoSal opened 4 months ago

MoSal commented 4 months ago

File::length() did not take --dereference into account, and used symlink metadata unconditionally.

This commit fixes that.