Files
ripgrep/crates/core/index/disabled.rs
T
Andrew Gallant 8372866810 index: add some initial indexing scaffolding
This gives us some room to actually start writing out some index
operations.
2026-07-22 11:51:56 -04:00

10 lines
320 B
Rust

use crate::flags::{HiArgs, SearchMode};
pub(crate) fn write(_args: &HiArgs) -> anyhow::Result<()> {
anyhow::bail!("indexing not enabled in this build of ripgrep")
}
pub(crate) fn read(_args: &HiArgs, _mode: SearchMode) -> anyhow::Result<bool> {
anyhow::bail!("indexing not enabled in this build of ripgrep")
}