33acfababd
Added CasaOS own file manager, now you can browse, upload, download files from the system, even edit code online, preview photos and videos through it. It will appear in the first position of Apps. Added CPU core count display and memory capacity display.
14 lines
291 B
Go
14 lines
291 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type Path struct {
|
|
Name string `json:"name"`
|
|
Path string `json:"path"`
|
|
IsDir bool `json:"is_dir"`
|
|
Date time.Time `json:"date"`
|
|
Size int64 `json:"size"`
|
|
Type string `json:"type,omitempty"`
|
|
Label string `json:"label,omitempty"`
|
|
}
|