diff options
Diffstat (limited to 'common.go')
-rw-r--r-- | common.go | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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 |