summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/repoNew.go b/repoNew.go
index fe7da04..88b8dea 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -225,16 +225,6 @@ func (f *Forge) AddFullPath(fulldir string) *gitpb.Repo {
return nil
}
-// deprecate
-// func (f *Forge) FindByGoPath(gopath string) *gitpb.Repo {
-// return f.FindByNamespace(gopath)
-// }
-
-func (f *Forge) FindByNamespace(gopath string) *gitpb.Repo {
- fullpath := filepath.Join(ENV.Get("ReposDir"), gopath)
- return f.Repos.FindByFullPath(fullpath)
-}
-
// tries any parent
func (f *Forge) FindAnyPath(dir string) *gitpb.Repo {
dir = filepath.Clean(dir)