diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
| commit | 192985619e462e22ef6967557bf1398a9613d0f6 (patch) | |
| tree | c3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /repoNew.go | |
| parent | 5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff) | |
new funcname
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) } |
