소스 검색

Fixed folder properties bug using du

Toby Chui 1 년 전
부모
커밋
def34b81ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      file_system.go

+ 1 - 1
file_system.go

@@ -2462,7 +2462,7 @@ func system_fs_getFileProperties(w http.ResponseWriter, r *http.Request) {
 
 			if fsh.IsLocalDrive() {
 				//Try using native syscall to grab directory size
-				nativeSize, err := filesystem.GetDirectorySizeNative(fsh.Path)
+				nativeSize, err := filesystem.GetDirectorySizeNative(rpath)
 				if err == nil {
 					usefallback = false
 					filesize = nativeSize