diff options
| author | Jeff Carr <[email protected]> | 2024-12-03 00:34:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-03 00:34:39 -0600 |
| commit | 0bc9bed597bb4d3333834da0ce4a4dc03b6b2d0d (patch) | |
| tree | af9818d7b263da17cc902c2662a6589000a87b5c /newRepo.go | |
| parent | 1c901e921fa1f5e39c6511bbe5ca82066bd86f49 (diff) | |
more refactor to protobuf
Diffstat (limited to 'newRepo.go')
| -rw-r--r-- | newRepo.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,21 +62,25 @@ func (r *RepoRow) Show2() { // adds a gui row to the table based off the repo protobuf func (r *RepoList) AddRepo(pb *gitpb.Repo) (*RepoRow, error) { + log.Info("isdir() start") if !pb.IsDirectory() { // this directory doesn't exist anymore // was moved, or isn't in the ~/go/src or wherever go.work is return nil, errors.New("path is gone: " + pb.FullPath) } + log.Info("isdir() end") test, ok := r.allrepos[pb.GetGoPath()] if ok { // this repo gopath was already added return test, nil } + log.Info("isdir() end 2") status, err := repostatus.NewRepoStatusWindow(pb) if err != nil { return nil, err } + log.Info("isdir() end 3") newRepo := new(RepoRow) newRepo.Status = status newRepo.pb = pb |
