Target.classify: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/target.bend as Target Lines 381-387 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=381&end_line=387 import Base # what a target word names. A word with `://` in it is a URL; one starting # `/`, `./`, `../` or `~/` is a path; `owner/repo` is GitHub; one starting # `git@` is a URL; anything else is a path. The shorthand is asked about # before `git@` because no shorthand holds an `@`, and in that order the # shorthand's law needs nothing said about `git@`. def classify(+text: String) -> Place: classify.empty(String.is_empty(text), text) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=Place https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=classify.empty