- Add TSF file naming constraint to syntax/02_core_model.md - Clarify semicolon rules: syntax facts vs style preferences - Separate control flow end semicolon rules (syntax allows both) - Add function body semicolon requirements to syntax/05_functions_and_calls.md - Move style preferences to code_style.md (control flow end semicolons) - Remove cross-references from syntax docs to maintain independence - Enhance Gitea workflow emoji for better CI output readability - Fix CI test path from tests/ to test/ - Organize agent test results under test/agent/result/ directory - Add complete Chinese translation of test cases (test_cases_zh.md) - Clean up .gitignore to use unified test/agent/result/ directory - Remove obsolete agent test artifacts (REPORTS_LOCATION.md, old results) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
2.2 KiB
Markdown
33 lines
2.2 KiB
Markdown
# 资源访问函数
|
|
|
|
文档类型:函数事实路由页
|
|
是否可直接用于生成代码:是;进入分类详情页后按函数事实条目生成调用
|
|
遇到不确定时:回到 [../index.md](../index.md)、[../../syntax/index.md](../../syntax/index.md)
|
|
|
|
这一页是资源访问函数的轻量入口,不直接承载全部函数事实。生成函数调用时,先按分类目录进入详情页,再只读取命中的函数条目和参数表。
|
|
|
|
## 模块范围
|
|
|
|
- 说明:文件、数据库、网络与外部资源访问
|
|
- 函数事实数:132
|
|
|
|
## 智能体检索规则
|
|
|
|
1. 用户只描述能力时,先按“分类目录”选择候选详情页。
|
|
2. 用户给出函数名时,优先在 `resource/` 子目录中搜索三级函数标题。
|
|
3. 只读取命中的函数条目、相邻分类标题和必要参数表;不要把同页其它函数混进当前调用。
|
|
4. 没有命中函数事实条目时,不要发明函数名;回到 [../index.md](../index.md) 或项目实际代码确认。
|
|
|
|
## 分类目录
|
|
|
|
| 分类 | 详情页 | 函数事实数 |
|
|
| -------------------- | ------------------------------------------------------------------------ | ---------: |
|
|
| 数据库访问函数 | [resource/01_database_access.md](resource/01_database_access.md) | 3 |
|
|
| 文件访问函数 | [resource/02_file_access.md](resource/02_file_access.md) | 29 |
|
|
| 导入导出类型函数 | [resource/03_import_export_types.md](resource/03_import_export_types.md) | 8 |
|
|
| 文件读写类型函数 | [resource/04_file_rw_types.md](resource/04_file_rw_types.md) | 7 |
|
|
| 网络访问以及相关函数 | [resource/05_network.md](resource/05_network.md) | 9 |
|
|
| INI文件处理函数 | [resource/06_ini.md](resource/06_ini.md) | 23 |
|
|
| 进程相关函数 | [resource/07_process.md](resource/07_process.md) | 44 |
|
|
| 本地资源相关函数 | [resource/08_local_resource.md](resource/08_local_resource.md) | 8 |
|