Update FolderEntry for size and modified time
This commit is contained in:
parent
8c15c3ce16
commit
b75c58cc64
@ -283,6 +283,8 @@ func (i ItemInfo) infoType() ItemType {
|
|||||||
type FolderInfo struct {
|
type FolderInfo struct {
|
||||||
ItemType ItemType `json:"itemType,omitempty"`
|
ItemType ItemType `json:"itemType,omitempty"`
|
||||||
DisplayName string `json:"displayName"`
|
DisplayName string `json:"displayName"`
|
||||||
|
Modified time.Time `json:"modified,omitempty"`
|
||||||
|
Size int64 `json:"size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i FolderInfo) Headers() []string {
|
func (i FolderInfo) Headers() []string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user