pub fn find(
dir: &Path,
query: Option<String>,
type_: Option<&str>,
tags: &[String],
field: Option<&str>,
scope: Option<&str>,
depth: Option<usize>,
limit: Option<usize>,
real_path: bool,
json: bool,
) -> Result<()>Expand description
str find:元数据检索(打印 find_hits 的结果;--json 输出 JSON 数组)。
--real-path 让文本输出使用绝对路径(便于管道给其它命令);JSON 恒含 path_abs。