File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
i18n/zh-CN/docusaurus-plugin-content-docs
version-0.10/reference/model
versioned_docs/version-0.10/reference/model Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,9 @@ Move a file or directory from the source path to the destination path.
71
71
` read_env(key: str) -> str `
72
72
73
73
Read the environment variable ` key ` from the current process.
74
+
75
+ ## current
76
+
77
+ ` current() -> str `
78
+
79
+ Read the path of the current script or module that is being executed.
Original file line number Diff line number Diff line change @@ -83,3 +83,9 @@ weight: 100
83
83
` read_env(key: str) -> str `
84
84
85
85
从当前进程中读取环境变量 ` key ` 的值。
86
+
87
+ ## current
88
+
89
+ ` current() -> str `
90
+
91
+ 读取正在执行的当前 KCL 代码文件或模块的路径。
Original file line number Diff line number Diff line change @@ -83,3 +83,9 @@ weight: 100
83
83
` read_env(key: str) -> str `
84
84
85
85
从当前进程中读取环境变量 ` key ` 的值。
86
+
87
+ ## current
88
+
89
+ ` current() -> str `
90
+
91
+ 读取正在执行的当前 KCL 代码文件或模块的路径。
Original file line number Diff line number Diff line change @@ -71,3 +71,9 @@ Move a file or directory from the source path to the destination path.
71
71
` read_env(key: str) -> str `
72
72
73
73
Read the environment variable ` key ` from the current process.
74
+
75
+ ## current
76
+
77
+ ` current() -> str `
78
+
79
+ Read the path of the current script or module that is being executed.
You can’t perform that action at this time.
0 commit comments