Skip to content

Commit

Permalink
remove commented out logs
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Aug 19, 2024
1 parent e2e969f commit 9cb3082
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions datasetIngestor/assembleFilelisting.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,9 @@ func GetLocalFileList(sourceFolder string, filelistingPath string, skip *string)
// spin.Color("green")

for _, line := range lines {
// log.Printf("Inside lines loop:%s\n", line)
if len(line) == 0 {
continue
}
// do not printout the default "./" case
// if len(line) > 2 {
// log.Printf("Line: %s %d\n", line, len(line))
//}
// if folder make recursive ls

// spin.Start() // Start the spinner
e := filepath.Walk(line, func(path string, f os.FileInfo, err error) error {
Expand Down Expand Up @@ -175,7 +169,6 @@ func GetLocalFileList(sourceFolder string, filelistingPath string, skip *string)
if err != nil {
return err
}
// log.Printf(" CWD path pointee :%v %v %v", dir, filepath.Dir(path), pointee)
pabs := filepath.Join(dir, filepath.Dir(modpath), pointee)
pointee, err = filepath.EvalSymlinks(pabs)
if err != nil {
Expand Down Expand Up @@ -265,7 +258,6 @@ Do you want to keep the link in dataset or skip it (D(efault)/k(eep)/s(kip) ?`,
owner = gidName
}

//log.Println("Path:",modpath)
return err
})

Expand Down
1 change: 0 additions & 1 deletion datasetIngestor/testForExistingSourceFolder.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func TestForExistingSourceFolder(folders []string, client *http.Client, APIServe
if end > all {
end = all
}
//log.Printf("Checking sourceFolder %v to %v for existing entries...\n", start+1, end)

sourceFolderList := strings.Join(folders[start:end], "\",\"")
filter := createFilter(sourceFolderList)
Expand Down

0 comments on commit 9cb3082

Please sign in to comment.