From 0f276b6ec8383cea3f3da726682594e5e683033a Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Sat, 27 Mar 2021 07:13:39 +0300 Subject: Resolve symlinks when listing This has the benefit of showing the size and modification date of the pointed-to file. Symlink to directories now respects '--dirs-first' option and broken symlinks don't show in directory listing. --- src/renderer.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/renderer.rs') diff --git a/src/renderer.rs b/src/renderer.rs index c9ec9cd..2487696 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -341,10 +341,6 @@ fn entry_row( } } } - } @else if entry.is_symlink() { - a.symlink href=(parametrized_link(&entry.link, sort_method, sort_order)) { - (entry.name) span.symlink-symbol { "⇢" } - } } } } -- cgit v1.2.3