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