playbook/docs/tsl/reference/catalog/resource.md

33 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 资源访问函数
文档类型:函数事实路由页
是否可直接用于生成代码:是;进入分类详情页后按函数事实条目生成调用
遇到不确定时:回到 [../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 |