def pub.cands

bolt@1.27.0.0 · src/lsp/server.bend:227

import bolt@1.27.0.0/src/lsp/server.bend as Server
import Base
import bolt@1.27.0.0/src/config.bend as Config

227# the bolt.bend candidates of a document's path, nearest first: the ones the
228# CLI reads for a file at that path, run from the same directory
229def pub.cands(cwd: String, path: String) -> List<&2, String>:
230  Config.chain(Config.home(cwd, Config.dir_of(path)))

Uses (5)

Used by (1)