diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 16:32:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 16:32:28 -0500 |
| commit | a2d6aac9f22bfe1060930e756a7dff86b3918f7e (patch) | |
| tree | a2c95d61c9d1e47a321e773857aebffdd6244474 /repoNew.go | |
| parent | 8535f407ac1e317df9d9bb34dbef7194b23eea1e (diff) | |
wrong logic in func. need to redo this whole thing.v0.0.188
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) |
