소스 검색

Added debug for test env

Toby Chui 3 년 전
부모
커밋
7dfe835fe3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      mod/filesystem/abstractions/smbfs/smbfs.go

+ 2 - 0
mod/filesystem/abstractions/smbfs/smbfs.go

@@ -202,6 +202,7 @@ func (a ServerMessageBlockFileSystemAbstraction) IsDir(realpath string) bool {
 
 func (a ServerMessageBlockFileSystemAbstraction) Glob(realpathWildcard string) ([]string, error) {
 	realpathWildcard = toWinPath(filterFilepath(realpathWildcard))
+	fmt.Println("GLOBING", realpathWildcard)
 	filteredMatches := []string{}
 	matches, err := a.share.Glob(realpathWildcard)
 	if err != nil {
@@ -210,6 +211,7 @@ func (a ServerMessageBlockFileSystemAbstraction) Glob(realpathWildcard string) (
 
 	for _, thisMatch := range matches {
 		filteredMatches = append(filteredMatches, filepath.ToSlash(thisMatch))
+		fmt.Println(filepath.ToSlash(thisMatch))
 	}
 	return filteredMatches, nil
 }