Fs represents a remote pcloud
| 161 | |
| 162 | // Fs represents a remote pcloud |
| 163 | type Fs struct { |
| 164 | name string // name of this remote |
| 165 | root string // the path we are working on |
| 166 | opt Options // parsed options |
| 167 | features *fs.Features // optional features |
| 168 | ts *oauthutil.TokenSource // the token source, used to create new clients |
| 169 | srv *rest.Client // the connection to the server |
| 170 | cleanupSrv *rest.Client // the connection used for the cleanup method |
| 171 | dirCache *dircache.DirCache // Map of directory path to directory id |
| 172 | pacer *fs.Pacer // pacer for API calls |
| 173 | tokenRenewer *oauthutil.Renew // renew the token on expiry |
| 174 | lastDiffID int64 // change tracking state for diff long-polling |
| 175 | } |
| 176 | |
| 177 | // Object describes a pcloud object |
| 178 | // |
nothing calls this directly
no outgoing calls
no test coverage detected