@muvon/octofs 0.15.0 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,6 +351,11 @@ costs one line. Ranged views and content search always render exactly what was a
|
|
|
351
351
|
{"path": "src/", "max_depth": 2, "include_hidden": true}
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
+
A bare listing of a remote directory (`ssh://host/path`, no `pattern`/`content`)
|
|
355
|
+
defaults to `max_depth: 1` — root entries only — because every subdirectory costs
|
|
356
|
+
an SFTP round trip; pass `max_depth` explicitly to walk deeper. Searches with
|
|
357
|
+
`pattern` or `content` always walk the whole tree, like `rg`.
|
|
358
|
+
|
|
354
359
|
`pattern` uses the same gitignore-style glob grammar as ripgrep's `-g/--glob`:
|
|
355
360
|
without `/` it matches filenames at any depth, while a pattern containing `/`
|
|
356
361
|
matches the returned relative path. It supports `*` within one path component,
|