From f362b7894c59b9e434563afb33c1e0a1d97371e8 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 16 Mar 2020 13:00:12 +0100 Subject: filecount --- src/http/http.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/http/http.go b/src/http/http.go index 9c618e3..dd4fe95 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -131,6 +131,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { dirCount++ } else { item.Download = true + fileCount++ } items = append(items, item) -- cgit 1.4.1