aboutsummaryrefslogtreecommitdiff
path: root/beku.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-05-21 00:09:15 +0700
committerShulhan <ms@kilabit.info>2018-05-21 00:09:15 +0700
commit0947ee08631bd083f25a7b428fadcb087dc84f3a (patch)
tree6247af7331752550a8ff58b0f8df35c5a722dd31 /beku.go
parent23138d96a7ea679b28de99a7c520d5bf511dc84c (diff)
downloadbeku-0947ee08631bd083f25a7b428fadcb087dc84f3a.tar.xz
package.gitClone: return error if destination directory is not empty
Diffstat (limited to 'beku.go')
-rw-r--r--beku.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/beku.go b/beku.go
index 9b838cf..3f079a0 100644
--- a/beku.go
+++ b/beku.go
@@ -54,6 +54,7 @@ var (
ErrPackageName = errors.New("Empty or invalid package name")
errDBPackageName = "missing package name, line %d at %s"
+ errDirNotEmpty = "directory %s is not empty"
)
var (