B0_findexFile indexes.
TODO. Maybe move that back to brzo. At the b0 level we are trying something with B0_srcs.
val empty : tempty is an empty file index.
val of_dirs :
?dotfiles:bool ->
?follow_symlinks:bool ->
?prune_dir:(Unix.stats -> string -> B0_std.Fpath.t -> bool) ->
B0_std.Fpath.t list ->
(t, string) Stdlib.resultof_dirs dirs returns a file index for the files in dirs whose prefixes may be reduced see root_root_dirs. See B0_std.Os.Dir.fold for the semantics of optional arguments.
val root_dirs : t -> B0_std.Fpath.t listroot_dirs i are the directories that were indexed as given in of_dirs.
val root_root_dirs : t -> B0_std.Fpath.t listroot_root_dirs is B0_std.Fpath.drop_prefixed and B0_std.Fpath.distinct applied to root_dirs.
val dirs : t -> B0_std.Fpath.Set.tdirs is the set of directories in the index, without the root directories.
val find_dirname : t -> string -> B0_std.Fpath.t listfind_dirname i n are the directories with basename n in i or the empty list if there is no such element.
val dir_files : t -> B0_std.Fpath.t -> B0_std.Fpath.t listdir_files i d are the files in directory d. If d is not a root directory or a member of dirs this is the empty list.
val dir_dirs : t -> B0_std.Fpath.t -> B0_std.Fpath.t listdir_dirs i d are the directories in directory d of i. If d is not a root directory or a member of dirs this is the empty list.
val files : t -> B0_std.Fpath.Set.tfiles is the set of files in the index.
val find_filename : t -> string -> B0_std.Fpath.t listfind_filename i n are the files with basename n in i or the empty list if there is no such element.