Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ On an AWS s3 instance, ccp downloaded a 1.5 TiB file in less than 10 minutes on
## Install

```
go install github.com/as/ccp@latest
go install github.com/cbsinteractive/mc-ccp@latest
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion accel.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync/atomic"
"time"

"github.com/as/log"
log "github.com/cbsinteractive/mc-log"

s3 "github.com/aws/aws-sdk-go/service/s3"
)
Expand Down
2 changes: 1 addition & 1 deletion fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"syscall"
"time"

"github.com/as/log"
log "github.com/cbsinteractive/mc-log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion fs_gs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"cloud.google.com/go/storage"
"github.com/as/log"
log "github.com/cbsinteractive/mc-log"
"google.golang.org/api/iterator"
)

Expand Down
2 changes: 1 addition & 1 deletion fs_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync"
"time"

"github.com/as/log"
log "github.com/cbsinteractive/mc-log"
)

type HTTP struct {
Expand Down
4 changes: 1 addition & 3 deletions fs_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ import (
"net/http"
"os"
"strings"

// "path"
"sync/atomic"
"time"

"github.com/as/log"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
s3 "github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3manager"
s3m "github.com/aws/aws-sdk-go/service/s3/s3manager"
log "github.com/cbsinteractive/mc-log"
)

type S3 struct {
Expand Down
27 changes: 24 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
module github.com/as/ccp
module github.com/cbsinteractive/mc-ccp

go 1.16
go 1.21

require (
cloud.google.com/go/storage v1.19.0
github.com/as/log v0.0.9
github.com/cbsinteractive/mc-log v0.0.0-20250701145422-987218416d5c
github.com/aws/aws-sdk-go v1.40.32
google.golang.org/api v0.65.0
)

require (
cloud.google.com/go v0.100.2 // indirect
cloud.google.com/go/compute v0.1.0 // indirect
cloud.google.com/go/iam v0.1.1 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.7 // indirect
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220118154757-00ab72f36ad5 // indirect
google.golang.org/grpc v1.40.1 // indirect
google.golang.org/protobuf v1.27.1 // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/as/log v0.0.9 h1:7+odoHT3i106cfKnrjs6NBt+6xSJAnJBTGo8S2w8eKo=
github.com/as/log v0.0.9/go.mod h1:urp1lQfFuIGmcdEH1A9W40ilVjhUj2MQCQLqNmwH0Dk=
github.com/cbsinteractive/mc-log v0.0.0-20250701145422-987218416d5c h1:YECZIy82b++Muz9+wooG9Y+q0IlYfJTCTO0F9ZHXUwY=
github.com/cbsinteractive/mc-log v0.0.0-20250701145422-987218416d5c/go.mod h1:kc1iU90xWFpAXey6ZdOJ+oC5psopzhp83HF8FonxA3M=
github.com/aws/aws-sdk-go v1.40.32 h1:ok+9vnnqYWJXofYhaOtfP/bOt2reDqTA6ZAS00AO5pA=
github.com/aws/aws-sdk-go v1.40.32/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
Expand Down
2 changes: 1 addition & 1 deletion sniff.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/as/log"
import log "github.com/cbsinteractive/mc-log"

const (
kindUnknown = "application/octet-stream"
Expand Down
2 changes: 1 addition & 1 deletion stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync/atomic"
"time"

"github.com/as/log"
log "github.com/cbsinteractive/mc-log"
)

func init() {
Expand Down
18 changes: 0 additions & 18 deletions vendor/cloud.google.com/go/go.mod

This file was deleted.

Loading