Remove dead code, do struct alignment, simplify code

This commit is contained in:
Mateusz Gajewski
2016-10-25 18:45:30 +02:00
parent c4d64a418b
commit 8cc3416bbc
13 changed files with 34 additions and 99 deletions

View File

@ -101,12 +101,12 @@ func (l Listing) BreadcrumbMap() map[string]string {
// FileInfo is the info about a particular file or directory
type FileInfo struct {
IsDir bool
Name string
Size int64
URL string
ModTime time.Time
Mode os.FileMode
IsDir bool
}
// HumanSize returns the size of the file as a human-readable string