Fs represents a remote object storage server
| 76 | |
| 77 | // Fs represents a remote object storage server |
| 78 | type Fs struct { |
| 79 | name string // name of this remote |
| 80 | root string // the path we are working on if any |
| 81 | opt Options // parsed config options |
| 82 | ci *fs.ConfigInfo // global config |
| 83 | features *fs.Features // optional features |
| 84 | srv *objectstorage.ObjectStorageClient // the connection to the object storage |
| 85 | rootBucket string // bucket part of root (if any) |
| 86 | rootDirectory string // directory part of root (if any) |
| 87 | cache *bucket.Cache // cache for bucket creation status |
| 88 | pacer *fs.Pacer // To pace the API calls |
| 89 | } |
| 90 | |
| 91 | // NewFs Initialize backend |
| 92 | func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected