diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 06:26:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 06:26:55 -0500 |
| commit | 27a539b879fd56bbd42d5870c7a2a03979acceba (patch) | |
| tree | 7d5e75d711b0f2b394e9b19b9485ec8a9263062c /goSrcFind.go | |
| parent | 0f895e83e62749bb1d716033f5f300d9d1c548ac (diff) | |
finally a rewrite of the old junky scanner
Diffstat (limited to 'goSrcFind.go')
| -rw-r--r-- | goSrcFind.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/goSrcFind.go b/goSrcFind.go index 02b7659..cef82bb 100644 --- a/goSrcFind.go +++ b/goSrcFind.go @@ -4,12 +4,6 @@ package forgepb // If there is a go.work file in your parent, that directory will be returned // otherwise, return ~/go/src -import ( - "fmt" - "os" - "path/filepath" -) - func (f *Forge) GetHome() string { return f.Config.ReposDir } @@ -70,6 +64,7 @@ func (f *Forge) goWorkExists() bool { } */ +/* func digup(path string) (string, error) { for { workFilePath := filepath.Join(path, "go.work") @@ -88,3 +83,4 @@ func digup(path string) (string, error) { return "", fmt.Errorf("no go.work file found") } +*/ |
