Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum!

IT'S ABOUT TIME. 🎉

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: 576985a1dcd76a9af2c5c483e6f12035a1f47b96
Component: engine
This commit is contained in:
Tianon Gravi
2015-05-01 16:01:10 -06:00
parent 9893237498
commit 7bd38d02c2
40 changed files with 16 additions and 3229 deletions

View File

@ -1,6 +1,7 @@
package archive
import (
"archive/tar"
"bufio"
"bytes"
"compress/bzip2"
@ -16,8 +17,6 @@ import (
"strings"
"syscall"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/fileutils"
"github.com/docker/docker/pkg/pools"

View File

@ -1,6 +1,7 @@
package archive
import (
"archive/tar"
"bytes"
"fmt"
"io"
@ -15,7 +16,6 @@ import (
"time"
"github.com/docker/docker/pkg/system"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
func TestIsArchiveNilHeader(t *testing.T) {

View File

@ -3,11 +3,10 @@
package archive
import (
"archive/tar"
"errors"
"os"
"syscall"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
// canonicalTarNameForPath returns platform-specific filepath

View File

@ -3,11 +3,10 @@
package archive
import (
"archive/tar"
"fmt"
"os"
"strings"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
// canonicalTarNameForPath returns platform-specific filepath

View File

@ -1,6 +1,7 @@
package archive
import (
"archive/tar"
"bytes"
"fmt"
"io"
@ -11,8 +12,6 @@ import (
"syscall"
"time"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/pools"
"github.com/docker/docker/pkg/system"

View File

@ -1,6 +1,7 @@
package archive
import (
"archive/tar"
"fmt"
"io"
"io/ioutil"
@ -9,8 +10,6 @@ import (
"strings"
"syscall"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
"github.com/docker/docker/pkg/pools"
"github.com/docker/docker/pkg/system"
)

View File

@ -1,9 +1,8 @@
package archive
import (
"archive/tar"
"testing"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
func TestApplyLayerInvalidFilenames(t *testing.T) {

View File

@ -1,6 +1,7 @@
package archive
import (
"archive/tar"
"bytes"
"fmt"
"io"
@ -8,8 +9,6 @@ import (
"os"
"path/filepath"
"time"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
var testUntarFns = map[string]func(string, io.Reader) error{

View File

@ -1,8 +1,8 @@
package archive
import (
"archive/tar"
"bytes"
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
"io/ioutil"
)