def in_base
import bolt@1.27.0.0/src/lsp/nav.bend as Navimport Base
import bolt@1.27.0.0/src/lsp/files/service.bend as F
import bolt@1.27.0.0/src/lsp/docs.bend as Docs
50# the item of a name in Base
51def in_base(~fs: F.Files, docs: List<&2, Docs.Doc>, name: String) -> IO(Maybe<&2, Found>):
52 do IO<Maybe<&2, Found>>:
53 path : String <- F.base_path(fs)
54 in_file(~fs, docs, path, name)