Fs represents a remote Huawei Drive
| 205 | |
| 206 | // Fs represents a remote Huawei Drive |
| 207 | type Fs struct { |
| 208 | name string // name of this remote |
| 209 | root string // root path in the remote |
| 210 | |
| 211 | opt Options // parsed options |
| 212 | features *fs.Features // optional features |
| 213 | srv *rest.Client // the connection to the server |
| 214 | pacer *fs.Pacer // pacer for API calls |
| 215 | dirCache *dircache.DirCache // Map of directory path to directory id |
| 216 | |
| 217 | rootFolderID string // ID of the root folder (detected at runtime) |
| 218 | domainURL string // regional domain URL from About:get |
| 219 | uploadURL string // upload URL (may be updated after domain detection) |
| 220 | |
| 221 | itemMetaCacheMu sync.Mutex // protects itemMetaCache |
| 222 | itemMetaCache map[string]itemMeta // map of item ID to metadata for ChangeNotify |
| 223 | } |
| 224 | |
| 225 | // Object describes a Huawei Drive object |
| 226 | type Object struct { |
nothing calls this directly
no outgoing calls
no test coverage detected