diff options
author | Emile <hanemile@protonmail.com> | 2020-03-16 13:00:12 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-16 13:00:12 +0100 |
commit | f362b7894c59b9e434563afb33c1e0a1d97371e8 (patch) | |
tree | 27ce40923a655898f396fe5b6d08bbf120957d06 | |
parent | 3e28a4ba1fcda97bb05a88000ccc4f3d551c5975 (diff) |
filecount
-rw-r--r-- | src/http/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |