1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-06 23:37:26 +02:00
Files
CasaOS/model/zima.go

15 lines
415 B
Go
Raw Normal View History

2021-09-26 10:35:02 +08:00
package model
2022-01-26 10:44:55 +08:00
import "time"
2021-09-26 10:35:02 +08:00
type Path struct {
2022-04-06 12:10:51 +08:00
Name string `json:"name"` //File name or document name
Path string `json:"path"` //Full path to file or folder
IsDir bool `json:"is_dir"` //Is it a folder
2022-01-26 10:44:55 +08:00
Date time.Time `json:"date"`
2022-04-06 12:10:51 +08:00
Size int64 `json:"size"` //File Size
Type string `json:"type,omitempty"`
Label string `json:"label,omitempty"`
2022-05-05 13:46:55 +08:00
Write bool `json:"write"`
2021-09-26 10:35:02 +08:00
}