Browse code

Enable validate-lint as part of CI

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>

Arnaud Porterie authored on 2015/07/23 07:19:32
Showing 2 changed files
... ...
@@ -46,6 +46,7 @@ echo
46 46
 DEFAULT_BUNDLES=(
47 47
 	validate-dco
48 48
 	validate-gofmt
49
+	validate-lint
49 50
 	validate-pkg
50 51
 	validate-test
51 52
 	validate-toml
... ...
@@ -9,6 +9,9 @@ import (
9 9
 	"github.com/docker/docker/pkg/archive"
10 10
 )
11 11
 
12
+// ApplyLayer parses a diff in the standard layer format from `layer`, and
13
+// applies it to the directory `dest`. Returns the size in bytes of the
14
+// contents of the layer.
12 15
 func ApplyLayer(dest string, layer archive.ArchiveReader) (size int64, err error) {
13 16
 	dest = filepath.Clean(dest)
14 17
 	decompressed, err := archive.DecompressStream(layer)