Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewListBlobsFlatPager (0.09 sec)

  1. cmd/warm-backend-azure.go

    	return azureToObjectError(err, az.Bucket, az.getDest(object))
    }
    
    func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
    	maxResults := int32(1)
    	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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top