def in_base

bolt@1.27.0.0 · src/lsp/nav.bend:50

import bolt@1.27.0.0/src/lsp/nav.bend as Nav
import 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)

Uses (10)

Used by (1)