mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672)
This commit is contained in:
parent
6bed7d469d
commit
d2ea6700aa
60 changed files with 37 additions and 516 deletions
|
|
@ -149,22 +149,6 @@ Pronalazi datoteke po obrascima.
|
|||
|
||||
Trazi datoteke koristeci glob obrasce kao `**/*.js` ili `src/**/*.ts`. Vraca putanje sortirane po vremenu izmjene.
|
||||
|
||||
---
|
||||
|
||||
### list
|
||||
|
||||
Ispisuje datoteke i direktorije na zadanoj putanji.
|
||||
|
||||
```json title="opencode.json" {4}
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"permission": {
|
||||
"list": "allow"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Ovaj alat ispisuje sadrzaj direktorija. Prihvata glob obrasce za filtriranje rezultata.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -341,7 +325,7 @@ MCP (Model Context Protocol) serveri omogucavaju integraciju eksternih alata i s
|
|||
|
||||
## Interno
|
||||
|
||||
Interno, alati kao `grep`, `glob` i `list` koriste [ripgrep](https://github.com/BurntSushi/ripgrep). Po defaultu, ripgrep postuje `.gitignore` obrasce, pa se fajlovi i direktoriji iz `.gitignore` izostavljaju iz pretraga i listinga.
|
||||
Interno, alati kao `grep` i `glob` koriste [ripgrep](https://github.com/BurntSushi/ripgrep). Po defaultu, ripgrep postuje `.gitignore` obrasce, pa se fajlovi i direktoriji iz `.gitignore` izostavljaju iz pretraga i listinga.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue