Target.looks.first: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/target.bend as Target Lines 317-329 of ezx@1.11.0.0/src/ez/target.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/target.bend&start_line=317&end_line=329 import Base # the first char: `/`, or the start of `./`, `../` or `~/` def looks.first(mark: Mark, rest: String) -> Bool: match mark: case Slash{}: True{} case Dot{}: looks.dot(rest) case Tilde{}: looks.slash(rest) case Word{}: False{} case Other{}: False{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=Mark https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=looks.dot https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=looks.slash