unexport fileInfo

This commit is contained in:
Henrique Dias
2017-06-25 13:03:59 +01:00
parent 1ba9608a9c
commit e6492286db
8 changed files with 21 additions and 21 deletions

View File

@@ -14,7 +14,7 @@ import (
// download creates an archive in one of the supported formats (zip, tar,
// tar.gz or tar.bz2) and sends it to be downloaded.
func download(w http.ResponseWriter, r *http.Request, i *FileInfo) (int, error) {
func download(w http.ResponseWriter, r *http.Request, i *fileInfo) (int, error) {
query := r.URL.Query().Get("download")
if !i.IsDir {