Path.base.last: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/path.bend as Path Lines 114-120 of ezx@1.11.0.0/src/pkg/path.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/path.bend&start_line=114&end_line=120 import Base # the last component of a path def base.last(ps: List<&2, String>) -> String: match ps: case []: "" case +h <> t: base.go(t, h) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/pkg/path.bend&name=base.go