# fsearch configuration
# Copy to ~/.config/fsearch/config.toml  OR  ./fsearch.toml (project-local override)
# Run `fsearch config init` to generate this file automatically.
#
# All values shown are defaults. Remove the leading '#' on any line to override.

# ── Search behaviour ───────────────────────────────────────────────────────────
# default_depth      = 1       # default -d / --deep value
# default_method     = 1       # 1 = walkdir+rayon (fast), 2 = recursive
# case_insensitive   = true
# include_dirs       = true
# binary_check_bytes = 1024
# max_line_length    = 10000
# threads            = 0       # 0 = all logical CPUs

# ── Duplicate detection ────────────────────────────────────────────────────────
# hash_algorithm   = "sha256"  # "md5" or "sha256"
# hash_buffer_size = 65536     # read buffer in bytes (64 KiB default)
# dup_min_size     = 1         # skip files smaller than this (bytes)
# dup_max_size     = 0         # skip files larger than this (0 = no limit)

# ── Output ─────────────────────────────────────────────────────────────────────
# verbose      = false   # show status messages and timing
# show_size    = false   # show file sizes  (reserved)
# show_modified = false  # show last-modified timestamps (reserved)
# max_results  = 0       # 0 = unlimited; override with -n

# ── Colours (true-colour "#RRGGBB") ───────────────────────────────────────────
# color_index    = "#FF88FF"   # result index number
# color_path     = "#FFFF00"   # matched file path
# color_line_num = "#FF4444"   # line number in content search
# color_line_text = "#00FFFF"  # matched line text
# color_header   = "#FFFFFF"   # "FOUND:" header
# color_count    = "#00FFFF"   # result count
# color_error    = "#FF3333"   # error messages
# color_warn     = "#FFAA00"   # warnings
# color_info     = "#00FF88"   # info / verbose messages
# color_pattern  = "#FF00FF"   # search pattern highlight
# color_dup_group = "#FF8800"
# color_dup_path  = "#FFFF00"
# color_dup_size  = "#88FF88"

# ── Default filters ────────────────────────────────────────────────────────────
# exclude_dirs    = ".git,node_modules,.svn,__pycache__,.hg,target,.cache"
# default_include = ""   # e.g. "*.py,*.rs"  to always limit by extension
