diff options
Diffstat (limited to 'repoNew.go')
| -rw-r--r-- | repoNew.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -224,7 +224,12 @@ func (f *Forge) AddFullPath(fulldir string) *gitpb.Repo { return nil } -func (f *Forge) FindByGoPath(gopath string) *gitpb.Repo { +// deprecate +// func (f *Forge) FindByGoPath(gopath string) *gitpb.Repo { +// return f.FindByNamespace(gopath) +// } + +func (f *Forge) FindByNamespace(gopath string) *gitpb.Repo { fullpath := filepath.Join(f.Config.ReposDir, gopath) return f.Repos.FindByFullPath(fullpath) } |
