From 6e15f9cb0dbac68992eb242282e725784fe72b32 Mon Sep 17 00:00:00 2001 From: Antonio Jesus Navarro Perez Date: Tue, 21 Feb 2017 14:53:30 +0100 Subject: [PATCH] cache: move package to plumbing Because cache package is only intended to be used at internal level, we move it to the plumbing package. --- {cache => plumbing/cache}/common.go | 0 {cache => plumbing/cache}/object.go | 0 {cache => plumbing/cache}/object_test.go | 0 {cache => plumbing/cache}/queue.go | 0 plumbing/format/packfile/decoder.go | 2 +- 5 files changed, 1 insertion(+), 1 deletion(-) rename {cache => plumbing/cache}/common.go (100%) rename {cache => plumbing/cache}/object.go (100%) rename {cache => plumbing/cache}/object_test.go (100%) rename {cache => plumbing/cache}/queue.go (100%) diff --git a/cache/common.go b/plumbing/cache/common.go similarity index 100% rename from cache/common.go rename to plumbing/cache/common.go diff --git a/cache/object.go b/plumbing/cache/object.go similarity index 100% rename from cache/object.go rename to plumbing/cache/object.go diff --git a/cache/object_test.go b/plumbing/cache/object_test.go similarity index 100% rename from cache/object_test.go rename to plumbing/cache/object_test.go diff --git a/cache/queue.go b/plumbing/cache/queue.go similarity index 100% rename from cache/queue.go rename to plumbing/cache/queue.go diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go index 475d24d02..4e102c754 100644 --- a/plumbing/format/packfile/decoder.go +++ b/plumbing/format/packfile/decoder.go @@ -3,8 +3,8 @@ package packfile import ( "bytes" - "srcd.works/go-git.v4/cache" "srcd.works/go-git.v4/plumbing" + "srcd.works/go-git.v4/plumbing/cache" "srcd.works/go-git.v4/plumbing/storer" )