From e9f3ae609ceb747002c3c28412eaef8d814b5333 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Mon, 13 Feb 2023 14:16:45 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-file-statvfs.md. Signed-off-by: zengyawen --- .../application-dev/reference/apis/js-apis-file-statvfs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 553c844ce0..f479d0de61 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 -- GitLab