graph: use tar archive entries for TarLayer

if there is a tar-data.json.gz present for an image layer, then use it
to create the tar archive, instead of the traditional graphdriver Diff.

Signed-off-by: Vincent Batts <vbatts@redhat.com>

Conflicts:
	graph/graph.go
This commit is contained in:
Vincent Batts
2015-07-22 11:36:15 -04:00
parent ba1f76cbfa
commit 5a00326d29
3 changed files with 102 additions and 9 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ const (
jsonFileName = "json"
layersizeFileName = "layersize"
digestFileName = "checksum"
tardataFileName = "tar-data.json.gz"
tarDataFileName = "tar-data.json.gz"
)
var (