summaryrefslogtreecommitdiffhomepage
path: root/caddyhttp/browse/browse.go
diff options
context:
space:
mode:
Diffstat (limited to 'caddyhttp/browse/browse.go')
-rw-r--r--caddyhttp/browse/browse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyhttp/browse/browse.go b/caddyhttp/browse/browse.go
index 63ad14aff..24ef8d76a 100644
--- a/caddyhttp/browse/browse.go
+++ b/caddyhttp/browse/browse.go
@@ -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