From d16d748132330ff58e142472a579d1f6c65e3eac Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Mon, 23 Dec 2013 23:33:06 +0000 Subject: [PATCH] Move utility package 'graphdb' to pkg/graphdb --- {graphdb => pkg/graphdb}/MAINTAINERS | 0 {graphdb => pkg/graphdb}/conn_darwin.go | 0 {graphdb => pkg/graphdb}/conn_linux.go | 0 {graphdb => pkg/graphdb}/graphdb.go | 0 {graphdb => pkg/graphdb}/graphdb_test.go | 0 {graphdb => pkg/graphdb}/sort.go | 0 {graphdb => pkg/graphdb}/sort_test.go | 0 {graphdb => pkg/graphdb}/utils.go | 0 runtime.go | 2 +- server.go | 2 +- 10 files changed, 2 insertions(+), 2 deletions(-) rename {graphdb => pkg/graphdb}/MAINTAINERS (100%) rename {graphdb => pkg/graphdb}/conn_darwin.go (100%) rename {graphdb => pkg/graphdb}/conn_linux.go (100%) rename {graphdb => pkg/graphdb}/graphdb.go (100%) rename {graphdb => pkg/graphdb}/graphdb_test.go (100%) rename {graphdb => pkg/graphdb}/sort.go (100%) rename {graphdb => pkg/graphdb}/sort_test.go (100%) rename {graphdb => pkg/graphdb}/utils.go (100%) diff --git a/graphdb/MAINTAINERS b/pkg/graphdb/MAINTAINERS similarity index 100% rename from graphdb/MAINTAINERS rename to pkg/graphdb/MAINTAINERS diff --git a/graphdb/conn_darwin.go b/pkg/graphdb/conn_darwin.go similarity index 100% rename from graphdb/conn_darwin.go rename to pkg/graphdb/conn_darwin.go diff --git a/graphdb/conn_linux.go b/pkg/graphdb/conn_linux.go similarity index 100% rename from graphdb/conn_linux.go rename to pkg/graphdb/conn_linux.go diff --git a/graphdb/graphdb.go b/pkg/graphdb/graphdb.go similarity index 100% rename from graphdb/graphdb.go rename to pkg/graphdb/graphdb.go diff --git a/graphdb/graphdb_test.go b/pkg/graphdb/graphdb_test.go similarity index 100% rename from graphdb/graphdb_test.go rename to pkg/graphdb/graphdb_test.go diff --git a/graphdb/sort.go b/pkg/graphdb/sort.go similarity index 100% rename from graphdb/sort.go rename to pkg/graphdb/sort.go diff --git a/graphdb/sort_test.go b/pkg/graphdb/sort_test.go similarity index 100% rename from graphdb/sort_test.go rename to pkg/graphdb/sort_test.go diff --git a/graphdb/utils.go b/pkg/graphdb/utils.go similarity index 100% rename from graphdb/utils.go rename to pkg/graphdb/utils.go diff --git a/runtime.go b/runtime.go index 2ecaf12086..7c7f722c5d 100644 --- a/runtime.go +++ b/runtime.go @@ -4,7 +4,7 @@ import ( "container/list" "fmt" "github.com/dotcloud/docker/archive" - "github.com/dotcloud/docker/graphdb" + "github.com/dotcloud/docker/pkg/graphdb" "github.com/dotcloud/docker/graphdriver" "github.com/dotcloud/docker/graphdriver/aufs" _ "github.com/dotcloud/docker/graphdriver/devmapper" diff --git a/server.go b/server.go index 3040494196..7840c16279 100644 --- a/server.go +++ b/server.go @@ -7,7 +7,7 @@ import ( "github.com/dotcloud/docker/archive" "github.com/dotcloud/docker/auth" "github.com/dotcloud/docker/engine" - "github.com/dotcloud/docker/graphdb" + "github.com/dotcloud/docker/pkg/graphdb" "github.com/dotcloud/docker/registry" "github.com/dotcloud/docker/utils" "io"