github.com/jfrog/jfrog-cli-core/v2@v2.52.0/artifactory/utils/download.go (about) 1 package utils 2 3 import ( 4 "github.com/jfrog/jfrog-cli-core/v2/utils/config" 5 "github.com/jfrog/jfrog-client-go/artifactory" 6 "github.com/jfrog/jfrog-client-go/utils/io" 7 ) 8 9 func CreateDownloadServiceManager(artDetails *config.ServerDetails, threads, httpRetries, httpRetryWaitMilliSecs int, dryRun bool, progressBar io.ProgressMgr) (artifactory.ArtifactoryServicesManager, error) { 10 return CreateServiceManagerWithProgressBar(artDetails, threads, httpRetries, httpRetryWaitMilliSecs, dryRun, progressBar) 11 } 12 13 type DownloadConfiguration struct { 14 Threads int 15 SplitCount int 16 MinSplitSize int64 17 Symlink bool 18 ValidateSymlink bool 19 SkipChecksum bool 20 }