| 46 | var log = logging.Module("gdrive") |
| 47 | |
| 48 | type gdriveStorage struct { |
| 49 | Options |
| 50 | blob.DefaultProviderImplementation |
| 51 | |
| 52 | client *drive.FilesService |
| 53 | about *drive.AboutService |
| 54 | folderID string |
| 55 | fileIDCache *fileIDCache |
| 56 | } |
| 57 | |
| 58 | func (gdrive *gdriveStorage) GetCapacity(ctx context.Context) (blob.Capacity, error) { |
| 59 | req := gdrive.about.Get().Fields("storageQuota") |
nothing calls this directly
no outgoing calls
no test coverage detected