added file size
This commit is contained in:
parent
00d87ecb5c
commit
055e9db8e2
5 changed files with 33 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ type file struct {
|
|||
Name template.HTML
|
||||
URI template.HTML
|
||||
Anchor string
|
||||
Size string
|
||||
Status int
|
||||
Prio int
|
||||
Errc int
|
||||
|
|
@ -122,6 +123,7 @@ func (r *responseInterceptor) GetPaths(path string, fs *fs.FS, relative bool) (d
|
|||
Name: name,
|
||||
URI: uri,
|
||||
Anchor: anchor(p),
|
||||
Size: fs.FileSize(full),
|
||||
Status: fs.CacheStatus(full),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue