diff options
| author | Jeff Carr <[email protected]> | 2024-11-27 14:44:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-27 14:44:51 -0600 |
| commit | c87e162518f0a2ab472413f638b0cf30fee2409f (patch) | |
| tree | d9e691d5f92b13ff0500f7535e26ed568a34d65f /repo.sort.go | |
| parent | c51b8c96b12de401cc277b97552f5f9df959c74e (diff) | |
more restructure
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'repo.sort.go')
| -rw-r--r-- | repo.sort.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/repo.sort.go b/repo.sort.go index 6495676..28b0f91 100644 --- a/repo.sort.go +++ b/repo.sort.go @@ -134,17 +134,3 @@ func (all *Repos) selectAllRepo() []*Repo { return aRepos } - -func (all *Repos) DeleteByPath(gopath string) *Repo { - repolock.Lock() - defer repolock.Unlock() - - for i, _ := range all.Repos { - if all.Repos[i].GoPath == gopath { - all.Repos[i] = all.Repos[len(all.Repos)-1] - all.Repos = all.Repos[:len(all.Repos)-1] - return nil - } - } - return nil -} |
