Debian Codegraph @

oss/export.go

raw symbols SCIP
1 package oss
2
3 import (
4 "github.com/denverdino/aliyungo/util"
5 )
6
7 var originalStrategy = attempts
8
9 func SetAttemptStrategy(s *util.AttemptStrategy) {
10 if s == nil {
11 attempts = originalStrategy
12 } else {
13 attempts = *s
14 }
15 }
16
17 func SetListPartsMax(n int) {
18 listPartsMax = n
19 }
20
21 func SetListMultiMax(n int) {
22 listMultiMax = n
23 }