()
| 10 | ) |
| 11 | |
| 12 | func (user *SixUser) GetRootFile() *SixFile { |
| 13 | return &SixFile{ |
| 14 | Identity: "root", |
| 15 | UserIdentity: user.Identity, |
| 16 | Path: "/", |
| 17 | Name: "root", |
| 18 | IsDir: true, |
| 19 | owner: user, |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | func (user *SixUser) RefreshUserInfo() { |
| 24 | res := gjson.Parse(user.Client.PostJsonObject("https://api.2dland.cn/v3/user/info", models.B{"ts": time.Now().Unix()})) |
nothing calls this directly
no outgoing calls
no test coverage detected