kshitijk4poor
9158bd8e0d
refactor(file-ops): one _run_rg_bounded owns the native-vs-shell transport choice
...
Three call sites each repeated `if native: _run_rg_native(...) else: _exec(... | head -n N)`.
The choice now lives in _run_rg_bounded; callers pass the words, the bound, and the
one thing the native lane cannot express (a cd prefix → native_ok=False). The grep/find
pipeline keeps its explicit shell form because of the column cap.
Test file: one module-scoped LocalEnvironment instead of thirteen (~0.8 s each).
2026-09-07 00:28:46 +05:30
..
2026-09-03 13:49:57 -07:00
2026-09-03 15:50:55 -07:00
2026-09-07 00:20:11 +05:30
2026-09-06 07:19:21 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:22:51 -07:00
2026-09-06 22:56:51 +05:30
2026-09-03 14:21:52 -07:00
2026-09-03 17:28:02 -07:00
2026-09-06 09:03:59 -07:00
2026-09-03 23:55:56 -07:00
2026-09-06 21:38:34 +05:30
2026-09-06 23:34:20 +05:30
2026-09-06 22:56:51 +05:30
2026-09-03 15:07:39 -07:00
2026-09-04 00:53:42 -07:00
2026-09-03 13:38:36 -07:00
2026-09-03 13:29:35 -07:00
2026-09-06 05:33:25 -07:00
2026-09-06 02:42:59 -07:00
2026-09-03 13:38:36 -07:00
2026-09-06 09:09:00 -07:00
2026-09-05 14:01:34 -07:00
2026-09-03 16:35:01 -07:00
2026-09-07 00:28:46 +05:30
2026-09-06 09:21:45 -07:00
2026-09-06 20:50:02 +05:30
2026-09-04 07:17:00 -07:00
2026-09-03 13:28:22 -07:00
2026-09-02 18:41:26 -07:00
2026-09-02 19:20:44 -07:00
2026-09-03 14:21:52 -07:00
2026-09-06 22:45:31 +05:30
2026-09-03 13:29:55 -07:00
2026-09-04 00:15:16 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:28:22 -07:00
2026-09-02 19:53:29 -07:00
2026-09-06 07:19:21 -07:00
2026-06-14 00:27:59 -04:00
2026-09-05 02:31:06 -07:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 05:03:04 +05:30
2026-09-03 13:46:50 -07:00
2026-09-03 16:35:01 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:48:14 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 15:07:39 -07:00
2026-09-02 17:07:24 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:48:49 -07:00
2026-07-29 13:10:23 -07:00
2026-09-05 12:21:21 +05:30
2026-09-03 13:28:22 -07:00
2026-09-03 17:45:53 -07:00
2026-09-04 04:56:11 -07:00
2026-09-04 01:28:31 -07:00
2026-09-04 20:24:24 -04:00
2026-09-04 20:24:24 -04:00
2026-09-03 19:33:28 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 16:35:01 -07:00
2026-09-03 13:46:50 -07:00
2026-09-05 12:21:21 +05:30
2026-09-05 17:00:18 -07:00
2026-09-06 14:14:29 +05:30
2026-09-03 14:21:52 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:12:50 -07:00