mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
8e61758064
commit
68e3dd6f34
2 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ OPTIONS = '''
|
|||
--override -o
|
||||
type=list
|
||||
Override individual configuration options, can be specified multiple times.
|
||||
Syntax: :italic:`name=value`. For example: :option:`kitten choose_files -o` max_depth=20
|
||||
Syntax: :italic:`name=value`.
|
||||
|
||||
|
||||
--config
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@ func (sc *ScanCache) fs_scan(root_dir, current_dir string, max_depth int, seen m
|
|||
return
|
||||
}
|
||||
|
||||
// TODO: Exclude /proc, /sys, /dev and also dont cross mountpoints
|
||||
|
||||
func (sc *ScanCache) scan(root_dir, search_text string, max_depth int) (ans []ResultItem) {
|
||||
seen := make(map[string]bool, 1024)
|
||||
ans = sc.fs_scan(root_dir, root_dir, max_depth, seen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue