rm debug code

This commit is contained in:
Alex Goodman 2018-10-24 08:06:36 -04:00
parent 5bc7337b04
commit 866b6189e6
No known key found for this signature in database
GPG Key ID: 05328C611D8A520E

View File

@ -212,11 +212,11 @@ func InitializeData(imageID string) ([]*Layer, []*filetree.FileTree, float64, fi
}
// save this image to disk temporarily to get the content info
// imageTarPath, tmpDir := saveImage(imageID)
imageTarPath, tmpDir := saveImage(imageID)
// fmt.Println(imageTarPath)
// fmt.Println(tmpDir)
imageTarPath := "/home/wagoodman/Downloads/image/image.tar"
// defer os.RemoveAll(tmpDir)
// imageTarPath := "/home/wagoodman/Downloads/image/image.tar"
defer os.RemoveAll(tmpDir)
// read through the image contents and build a tree
tarFile, err := os.Open(imageTarPath)