mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-18 06:34:50 +00:00
fix(docs): locale markdown issues
This commit is contained in:
@@ -283,13 +283,13 @@ await client.session.prompt({
|
||||
|
||||
### 文件
|
||||
|
||||
| 方法 | 描述 | 回應 |
|
||||
| ------------------------- | -------------------- | -------------------------------------------------------------------- | -------------- |
|
||||
| `find.text({ query })` | 搜索文件中的文本 | 具有 `path`、`lines`、`line_number`、`absolute_offset`、`submatches` | 的匹配對像數組 |
|
||||
| `find.files({ query })` | 按名稱查找文件和目錄 | `string[]`(路徑) |
|
||||
| `find.symbols({ query })` | 查找工作區符號 | <a href={typesUrl}><code>符號[]</code></a> |
|
||||
| `file.read({ query })` | 讀取文件 | `{ type: "raw" \| "patch", content: string }` |
|
||||
| `file.status({ query? })` | 獲取跟踪文件的狀態 | <a href={typesUrl}><code>文件[]</code></a> |
|
||||
| 方法 | 描述 | 回應 |
|
||||
| ------------------------- | -------------------- | ----------------------------------------------------------------------------------- |
|
||||
| `find.text({ query })` | 搜索文件中的文本 | 具有 `path`, `lines`, `line_number`, `absolute_offset`, `submatches` 的匹配對象陣列 |
|
||||
| `find.files({ query })` | 按名稱查找文件和目錄 | `string[]`(路徑) |
|
||||
| `find.symbols({ query })` | 查找工作區符號 | <a href={typesUrl}><code>Symbol[]</code></a> |
|
||||
| `file.read({ query })` | 讀取文件 | `{ type: "raw" \| "patch", content: string }` |
|
||||
| `file.status({ query? })` | 獲取跟蹤文件的狀態 | <a href={typesUrl}><code>File[]</code></a> |
|
||||
|
||||
`find.files` 支持一些可選的查詢字段:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user