summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 16:32:28 -0500
committerJeff Carr <[email protected]>2025-10-22 16:32:28 -0500
commita2d6aac9f22bfe1060930e756a7dff86b3918f7e (patch)
treea2c95d61c9d1e47a321e773857aebffdd6244474 /repoNew.go
parent8535f407ac1e317df9d9bb34dbef7194b23eea1e (diff)
wrong logic in func. need to redo this whole thing.v0.0.188
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)