///|
test {
let base = AbsolutePath::from_string("/workspace/project")
let child = RelativePath::from_string("src/../README.md")
assert_eq(Path::join(base, child).to_string(), "/workspace/project/README.md")
}pub(open) trait Path {
fn from_string(String) -> Self raise
fn to_string(Self) -> String
fn join(Self, RelativePath) -> Self
}impl ToJson for AbsolutePathimpl FromJson for AbsolutePathimpl Path for AbsolutePathimpl ToJson for RelativePathimpl FromJson for RelativePathimpl Path for RelativePathInstall
Download zipFocused utility collections, traits, and value types for MoonBit
Dependencies