Remove debug code

This commit is contained in:
Elara 2022-08-29 14:23:10 -07:00
parent 12d92afa0a
commit 4845a33a25

View File

@ -1,7 +1,6 @@
package blefs package blefs
import ( import (
"fmt"
"path/filepath" "path/filepath"
"strings" "strings"
) )
@ -58,10 +57,8 @@ func (blefs *FS) MkdirAll(path string) error {
} }
splitPath := strings.Split(path, "/") splitPath := strings.Split(path, "/")
fmt.Println("p", path, splitPath)
for i := 1; i < len(splitPath); i++ { for i := 1; i < len(splitPath); i++ {
curPath := strings.Join(splitPath[0:i], "/") curPath := strings.Join(splitPath[0:i], "/")
fmt.Println("cp", curPath)
err := blefs.Mkdir(curPath) err := blefs.Mkdir(curPath)
if err != nil && err.(FSError).Code != -17 { if err != nil && err.(FSError).Code != -17 {