Source

xplor / xplor.go

Diff from to
 	var fi os.FileInfo
 	for _, v := range names {
 		line = nodirflag + indents + v + "\n"
-		isNotHidden := !strings.Contains(v, ".")
+		isNotHidden := !strings.HasPrefix(v, ".")
 		if isNotHidden || showHidden {
 			fullpath = path.Join(dirpath, v)
 			fi, err = os.Stat(fullpath)