File tree Expand file tree Collapse file tree 5 files changed +98
-2
lines changed
i18n/zh-CN/docusaurus-plugin-content-docs
version-0.8/reference/model
versioned_docs/version-0.8/reference/model Expand file tree Collapse file tree 5 files changed +98
-2
lines changed Original file line number Diff line number Diff line change @@ -41,3 +41,27 @@ Whether this file path exists. Returns true if the path points at an existing en
4141` abs(filepath: str) -> str `
4242
4343Returns the canonical, absolute form of the path with all intermediate components normalized and symbolic links resolved.
44+
45+ ## mkdir
46+
47+ ` mkdir(directory: str, exists: bool=False) `
48+
49+ Create a new directory at the specified path if it doesn't already exist.
50+
51+ ## delete
52+
53+ ` delete(directory: str, exists) `
54+
55+ Delete a file or an empty directory at the specified path.
56+
57+ ## cp
58+
59+ ` cp(src: str, dest: str) `
60+
61+ Copy a file or directory from the source path to the destination path.
62+
63+ ## mv
64+
65+ ` mv(src: str, dest: str) `
66+
67+ Move a file or directory from the source path to the destination path.
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ const katex = require('rehype-katex');
99/** @type {import('@docusaurus/types').Config } */
1010const config = {
1111 title : 'KCL programming language.' ,
12- tagline : 'Mutation Validation Abstraction Production-Ready' ,
12+ tagline : 'Mutation Validation Abstraction Automation Production-Ready' ,
1313
14- url : 'https://kcl-lang.github .io' ,
14+ url : 'https://www. kcl-lang.io' ,
1515 organizationName : 'kcl-lang' , // Usually your GitHub org/user name.
1616 projectName : 'kcl' , // Usually your repo name.
1717
Original file line number Diff line number Diff line change @@ -41,3 +41,27 @@ weight: 100
4141` abs(filepath: str) -> str `
4242
4343返回路径的规范化绝对形式,其中所有中间路径均已规范化并解析为符号链接。
44+
45+ ## mkdir
46+
47+ ` mkdir(directory: str, exists: bool=False) `
48+
49+ 如果指定路径上不存在目录,则创建一个新目录。
50+
51+ ## delete
52+
53+ ` delete(directory: str, exists) `
54+
55+ 在指定路径上删除一个文件或空目录。
56+
57+ ## cp
58+
59+ ` cp(src: str, dest: str) `
60+
61+ 将文件或目录从源路径复制到目标路径。
62+
63+ ## mv
64+
65+ ` mv(src: str, dest: str) `
66+
67+ 将文件或目录从源路径移动到目标路径。
Original file line number Diff line number Diff line change @@ -41,3 +41,27 @@ weight: 100
4141` abs(filepath: str) -> str `
4242
4343返回路径的规范化绝对形式,其中所有中间路径均已规范化并解析为符号链接。
44+
45+ ## mkdir
46+
47+ ` mkdir(directory: str, exists: bool=False) `
48+
49+ 如果指定路径上不存在目录,则创建一个新目录。
50+
51+ ## delete
52+
53+ ` delete(directory: str, exists) `
54+
55+ 在指定路径上删除一个文件或空目录。
56+
57+ ## cp
58+
59+ ` cp(src: str, dest: str) `
60+
61+ 将文件或目录从源路径复制到目标路径。
62+
63+ ## mv
64+
65+ ` mv(src: str, dest: str) `
66+
67+ 将文件或目录从源路径移动到目标路径。
Original file line number Diff line number Diff line change @@ -41,3 +41,27 @@ Whether this file path exists. Returns true if the path points at an existing en
4141` abs(filepath: str) -> str `
4242
4343Returns the canonical, absolute form of the path with all intermediate components normalized and symbolic links resolved.
44+
45+ ## mkdir
46+
47+ ` mkdir(directory: str, exists: bool=False) `
48+
49+ Create a new directory at the specified path if it doesn't already exist.
50+
51+ ## delete
52+
53+ ` delete(directory: str, exists) `
54+
55+ Delete a file or an empty directory at the specified path.
56+
57+ ## cp
58+
59+ ` cp(src: str, dest: str) `
60+
61+ Copy a file or directory from the source path to the destination path.
62+
63+ ## mv
64+
65+ ` mv(src: str, dest: str) `
66+
67+ Move a file or directory from the source path to the destination path.
You can’t perform that action at this time.
0 commit comments