aboutsummaryrefslogtreecommitdiffstats
path: root/common.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:03:47 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:04:00 +0100
commitb3b6e51565dcdbf81546f1d8f0121874a4e4fce9 (patch)
tree5ad244f4b9c350367ed65d57d8881078aefe0753 /common.go
parent498dbf7dc92e288641f1af1acc52704150e8a6c0 (diff)
downloadgo-git-b3b6e51565dcdbf81546f1d8f0121874a4e4fce9.tar.gz
submodule init implementation
Diffstat (limited to 'common.go')
-rw-r--r--common.go19
1 files changed, 1 insertions, 18 deletions
diff --git a/common.go b/common.go
index 1a05dc3..6174339 100644
--- a/common.go
+++ b/common.go
@@ -1,23 +1,6 @@
package git
-import (
- "strings"
-
- "srcd.works/go-git.v4/config"
- "srcd.works/go-git.v4/plumbing/storer"
-)
-
-// Storer is a generic storage of objects, references and any information
-// related to a particular repository. The package srcd.works/go-git.v4/storage
-// contains two implementation a filesystem base implementation (such as `.git`)
-// and a memory implementations being ephemeral
-type Storer interface {
- storer.EncodedObjectStorer
- storer.ReferenceStorer
- storer.ShallowStorer
- storer.IndexStorer
- config.ConfigStorer
-}
+import "strings"
// countLines returns the number of lines in a string à la git, this is
// The newline character is assumed to be '\n'. The empty string