提交 354c7d1f 编写于 作者: 1 18721213663

bugfix_fs_movefile_add_fs.

Signed-off-by: N18721213663 <zhuhongtao12@huawei.com>
上级 38a0960c
......@@ -1664,7 +1664,7 @@ listFile(path: string, options?: {
});
```
## listFileSync
## fs.listFileSync
listFileSync(path: string, options?: {
recursion?: boolean;
......@@ -1714,7 +1714,7 @@ listFileSync(path: string, options?: {
console.info("filename: %s", filenames[i]);
}
```
## moveFile
## fs.moveFile
moveFile(src: string, dest: string, mode?: number): Promise<void>;
......@@ -1740,7 +1740,7 @@ moveFile(src: string, dest: string, mode?: number): Promise<void>;
});
```
## moveFile
## fs.moveFile
moveFile(src: string, dest: string, mode?: number, callback: AsyncCallback<void>): void;
......@@ -1769,7 +1769,7 @@ moveFile(src: string, dest: string, mode?: number, callback: AsyncCallback<void>
});
```
## moveFileSync
## fs.moveFileSync
moveFile(src: string, dest: string, mode?: number): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册