- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for new_page (0.1 sec)
-
cmd/warm-backend-gcs.go
it := gcs.client.Bucket(gcs.Bucket).Objects(ctx, &storage.Query{ Delimiter: "/", Prefix: gcs.Prefix, Versions: false, }) pager := iterator.NewPager(it, 1, "") gcsObjects := make([]*storage.ObjectAttrs, 0) _, err := pager.NextPage(&gcsObjects) if err != nil { return false, gcsToObjectError(err, gcs.Bucket, gcs.Prefix) } if len(gcsObjects) > 0 { return true, nil } return false, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/warm-backend-azure.go
pager := az.clnt.NewListBlobsFlatPager(az.Bucket, &azblob.ListBlobsFlatOptions{ Prefix: &az.Prefix, MaxResults: &maxResults, }) if !pager.More() { return false, nil } resp, err := pager.NextPage(ctx) if err != nil { if strings.Contains(err.Error(), "no more pages") { return false, nil } return false, azureToObjectError(err, az.Bucket, az.Prefix) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0)