diff --git a/zh-cn/application-dev/reference/apis/js-apis-file-statvfs.md b/zh-cn/application-dev/reference/apis/js-apis-file-statvfs.md index 553c844ce0e0ff128b4d740b1e710f3fcad2e3c9..f479d0de6190660e2e645484f50cc68c9634f509 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-file-statvfs.md +++ b/zh-cn/application-dev/reference/apis/js-apis-file-statvfs.md @@ -42,7 +42,7 @@ getFreeSize(path:string):Promise<number> }); ``` -## statfs.getFreeSize +## statvfs.getFreeSize getFreeSize(path:string, callback:AsyncCallback<number>): void @@ -70,7 +70,7 @@ getFreeSize(path:string, callback:AsyncCallback<number>): void }); ``` -## statfs.getTotalSize +## statvfs.getTotalSize getTotalSize(path: string): Promise<number> @@ -101,7 +101,7 @@ getTotalSize(path: string): Promise<number> }); ``` -## statfs.getTotalSize +## statvfs.getTotalSize getTotalSize(path: string, callback: AsyncCallback<number>): void