Remove debug code
This commit is contained in:
parent
0eead333b7
commit
b5d345cdec
@ -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 {
|
||||||
|
Reference in New Issue
Block a user