GrepMatch
public record GrepMatch(String path, int line, String text)
源码Source
io/agentscope/harness/agent/filesystem/model/GrepMatch.java:25承载 Grep Match数据的记录类型。位于 io.agentscope.harness.agent.filesystem.model 包。核心成员包括 path、line、text。
A single match from a grep search.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
path | String | 执行路径相关操作。 path to the file containing the match |
line | int | 执行 `line` 方法。 1-indexed line number of the match |
text | String | 执行文本相关操作。 content of the matching line |
记录组件详情Record Component Detail
path
String path执行路径相关操作。
path to the file containing the match
源码Source
io/agentscope/harness/agent/filesystem/model/GrepMatch.java:25line
int line执行 line 方法。
1-indexed line number of the match
源码Source
io/agentscope/harness/agent/filesystem/model/GrepMatch.java:25text
String text执行文本相关操作。
content of the matching line
源码Source
io/agentscope/harness/agent/filesystem/model/GrepMatch.java:25