Split out into a small stub command line and a library

- this is pretty much the smallest change to split this out and it
  exposes a few things that can be improved later
- no change to logging yet

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-06-21 16:19:31 -07:00
parent a7e3fd29b4
commit e7ebabdb05
16 changed files with 564 additions and 498 deletions

6
src/moby/util.go Normal file
View File

@@ -0,0 +1,6 @@
package moby
var (
// MobyDir is the location of the cache directory which should be set by the caller
MobyDir string
)