moonbit-community/warren/path does not have a README file

    Path

    using @moonbitlang/x/path { type Path }

    A newtype wrapper provide path operation methods.

    ArtifactPath

    type ArtifactPath

    ArtifactPath::join_module_path

    fn ArtifactPath::join_module_path(self : ArtifactPath, mod : MooncakesPath) -> ArtifactPath

    ArtifactPath::join_relative

    fn ArtifactPath::join_relative(s1 : ArtifactPath, s2 : String) -> ArtifactPath

    ArtifactPath::new

    ArtifactPath::to_string

    fn ArtifactPath::to_string(self : ArtifactPath, target : Target, build : Build, mode : Mode) -> SourcePath

    Build

    pub(all) enum Build {
    Release
    Debug
    } derive(Eq, Hash,
    Debug
    )

    Mode

    pub(all) enum Mode {
    Check
    Build
    } derive(Eq, Hash,
    Debug
    )

    MooncakesPath

    type MooncakesPath derive(Compare, Eq)

    MooncakesPath::join

    fn MooncakesPath::join(a : MooncakesPath, b : String) -> MooncakesPath

    MooncakesPath::new

    fn MooncakesPath::new(s : String) -> MooncakesPath

    MooncakesPath::to_string

    fn MooncakesPath::to_string(s : MooncakesPath) -> String

    SourcePath

    type SourcePath derive(Compare, Eq, Hash)

    impl Show for SourcePath

    SourcePath::join

    fn SourcePath::join(a : SourcePath, b : String) -> SourcePath

    SourcePath::new

    fn SourcePath::new(s : String) -> SourcePath

    SourcePath::relative

    fn SourcePath::relative(a : SourcePath, base : SourcePath) -> String

    Target

    pub(all) enum Target {
    Wasm
    WasmGC
    Js
    Native
    } derive(Eq, Hash,
    Debug
    )

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io