Skip to content

Commit 873e736

Browse files
authored
Docs: Update os-module.md (#37)
1 parent 4377321 commit 873e736

File tree

1 file changed

+3
-3
lines changed
  • i18n/zh-cn/docusaurus-plugin-content-docs/current

1 file changed

+3
-3
lines changed

i18n/zh-cn/docusaurus-plugin-content-docs/current/os-module.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ list_items('../')
5050

5151
| 特性 | JavaScript | Python |
5252
|---------|------------|--------|
53-
| 文件或目录是否存在 | fs.existsSync(path) | os.path.exists(path) |
54-
| 创建目录 | fs.mkdirSync(path) | os.mkdir(path) |
55-
| 列出目录 | fs.readdirSync(path) | os.listdir(path) |
53+
| 文件或目录是否存在 | `fs.existsSync(path)` | `os.path.exists(path)` |
54+
| 创建目录 | `fs.mkdirSync(path)` | `os.mkdir(path)` |
55+
| 列出目录 | `fs.readdirSync(path)` | `os.listdir(path)` |
5656

5757
### 相关资源
5858

0 commit comments

Comments
 (0)