File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,15 @@ type jsonItem struct {
15
15
}
16
16
17
17
type jsonResponseData struct {
18
+ IsRoot bool `json:"isRoot"`
19
+ Path string `json:"path"`
20
+ Paths []* pathEntry `json:"paths"`
21
+ SubItemPrefix string `json:"subItemPrefix"`
22
+ CanUpload bool `json:"canUpload"`
23
+ CanArchive bool `json:"canArchive"`
24
+ CanCors bool `json:"canCors"`
25
+ NeedAuth bool `json:"needAuth"`
26
+
18
27
Item * jsonItem `json:"item"`
19
28
SubItems []* jsonItem `json:"subItems"`
20
29
}
@@ -44,6 +53,15 @@ func getJsonData(data *responseData) *jsonResponseData {
44
53
}
45
54
46
55
return & jsonResponseData {
56
+ IsRoot : data .IsRoot ,
57
+ Path : data .Path ,
58
+ Paths : data .Paths ,
59
+ SubItemPrefix : data .SubItemPrefix ,
60
+ CanUpload : data .CanUpload ,
61
+ CanArchive : data .CanArchive ,
62
+ CanCors : data .CanCors ,
63
+ NeedAuth : data .NeedAuth ,
64
+
47
65
Item : item ,
48
66
SubItems : subItems ,
49
67
}
You can’t perform that action at this time.
0 commit comments