Add storage analytics page
This commit is contained in:
18
internal/file/stats.go
Normal file
18
internal/file/stats.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package file
|
||||
|
||||
type StorageStats struct {
|
||||
TotalFiles int
|
||||
ActiveFiles int
|
||||
DeletedFiles int
|
||||
|
||||
TotalBytes int64
|
||||
AverageFileSize int64
|
||||
|
||||
DiskTotalBytes int64
|
||||
DiskFreeBytes int64
|
||||
DiskUsedBytes int64
|
||||
|
||||
TempBytes int64
|
||||
|
||||
LargestFiles []FileRecord
|
||||
}
|
||||
Reference in New Issue
Block a user