Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewListBlobsFlatPager (0.24 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top