summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.go b/common.go
index e57409c..7daa87a 100644
--- a/common.go
+++ b/common.go
@@ -45,6 +45,11 @@ func (rs *RepoStatus) GoPath() string {
return rs.goPath.String()
}
+// full path
+func (rs *RepoStatus) FullPath() string {
+ return rs.realPath.String()
+}
+
func (rs *RepoStatus) IsPrimitive() bool {
if rs.primitive.String() == "true" {
return true