summaryrefslogtreecommitdiff
path: root/readWorkFile.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 00:47:04 -0600
committerJeff Carr <[email protected]>2024-12-01 00:47:04 -0600
commita483e69d12f9522e882b700d3ea6940a6fd86bff (patch)
treeb19c17eb860253f7d21b6e7dfb650e119ee15352 /readWorkFile.go
parent58a05460c7c295980d5d7be38df0aeae1ccd88fa (diff)
misc cleanupsv0.6.8
Diffstat (limited to 'readWorkFile.go')
-rw-r--r--readWorkFile.go41
1 files changed, 0 insertions, 41 deletions
diff --git a/readWorkFile.go b/readWorkFile.go
deleted file mode 100644
index dc36754..0000000
--- a/readWorkFile.go
+++ /dev/null
@@ -1,41 +0,0 @@
-package main
-
-/*
-func addDir(d string) {
- if shell.IsDir(d) {
- rv.NewRepo(d)
- }
-}
-
-func readControlFile(path string) error {
- fullname := filepath.Join(path, "go.work")
- file, err := os.Open(fullname)
- if err != nil {
- return err
- }
- defer file.Close()
-
- // pairs := make(map[string]string)
- // var key string
-
- scanner := bufio.NewScanner(file)
- for scanner.Scan() {
- line := scanner.Text()
-
- line = strings.TrimSpace(line)
-
- partsNew := strings.SplitN(line, ":", 2)
- if len(partsNew) > 1 {
- continue
- }
- log.Info(line)
- addDir(line)
- }
-
- if err := scanner.Err(); err != nil {
- return err
- }
-
- return nil
-}
-*/