Toby Chui 1 жил өмнө
parent
commit
4c5f6611dc

+ 1 - 0
mod/filesystem/static.go

@@ -287,6 +287,7 @@ func GetDirectorySizeNative(filename string) (int64, error) {
 	//du command exists
 	//use native syscall to get disk size
 	cmd := exec.Command("du", "-sb", abspath)
+	fmt.Println("du", "-sb", abspath)
 	out, err := cmd.CombinedOutput()
 	if err != nil {
 		return 0, err