fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

relativize

io.path.relativize

relativize path `p` based on this path.

e.g. "/tmp/folder".relativize "/tmp/folder/file" will return "file"
Precondition
pre debug: p.starts_with (io.path.of names is_absolute)
0.099dev (GIT hash a68bce9af280552faedee34cd5433dc10b6454de)
last changed: 2026-10-14