浏览代码

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
 }