MCPcopy
hub / github.com/kopia/kopia / gdriveStorage

Struct gdriveStorage

repo/blob/gdrive/gdrive_storage.go:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected