PROXIMATE_TO relative path to base

Contents

Inputs

Outputs

function [rel, b] = proximate_to(base, other, backend)
arguments
  base (1,1) string
  other (1,1) string
  backend (1,:) string = ["python", "native"]
end

[rel, b] = stdlib.relative_to(base, other, backend);
if stdlib.strempty(rel)
  rel = other;
end

end