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_repr

    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
    )

    Build::equal

    fn Build::equal(Build, Build) -> Bool

    Build::hash

    fn Build::hash(self : Build) -> Int

    Build::hash_combine

    fn Build::hash_combine(Build, Hasher) -> Unit

    Build::not_equal

    fn Build::not_equal(x : Build, y : Build) -> Bool

    Build::to_repr

    Mode

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

    Mode::equal

    fn Mode::equal(Mode, Mode) -> Bool

    Mode::hash

    fn Mode::hash(self : Mode) -> Int

    Mode::hash_combine

    fn Mode::hash_combine(Mode, Hasher) -> Unit

    Mode::not_equal

    fn Mode::not_equal(x : Mode, y : Mode) -> Bool

    Mode::to_repr

    MooncakesPath

    type MooncakesPath derive(Compare, Eq)

    MooncakesPath::compare

    MooncakesPath::equal

    MooncakesPath::join

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

    MooncakesPath::new

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

    MooncakesPath::not_equal

    fn MooncakesPath::not_equal(x : MooncakesPath, y : MooncakesPath) -> Bool

    MooncakesPath::op_ge

    fn MooncakesPath::op_ge(x : MooncakesPath, y : MooncakesPath) -> Bool

    MooncakesPath::op_gt

    fn MooncakesPath::op_gt(x : MooncakesPath, y : MooncakesPath) -> Bool

    MooncakesPath::op_le

    fn MooncakesPath::op_le(x : MooncakesPath, y : MooncakesPath) -> Bool

    MooncakesPath::op_lt

    fn MooncakesPath::op_lt(x : MooncakesPath, y : MooncakesPath) -> Bool

    MooncakesPath::output

    fn MooncakesPath::output(self : MooncakesPath, buf : &Logger) -> Unit

    MooncakesPath::to_repr

    MooncakesPath::to_string

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

    SourcePath

    type SourcePath derive(Compare, Eq, Hash)

    impl Show for SourcePath

    SourcePath::compare

    fn SourcePath::compare(SourcePath, SourcePath) -> Int

    SourcePath::equal

    fn SourcePath::equal(SourcePath, SourcePath) -> Bool

    SourcePath::hash

    fn SourcePath::hash(self : SourcePath) -> Int

    SourcePath::hash_combine

    fn SourcePath::hash_combine(SourcePath, Hasher) -> Unit

    SourcePath::join

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

    SourcePath::new

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

    SourcePath::not_equal

    fn SourcePath::not_equal(x : SourcePath, y : SourcePath) -> Bool

    SourcePath::op_ge

    fn SourcePath::op_ge(x : SourcePath, y : SourcePath) -> Bool

    SourcePath::op_gt

    fn SourcePath::op_gt(x : SourcePath, y : SourcePath) -> Bool

    SourcePath::op_le

    fn SourcePath::op_le(x : SourcePath, y : SourcePath) -> Bool

    SourcePath::op_lt

    fn SourcePath::op_lt(x : SourcePath, y : SourcePath) -> Bool

    SourcePath::output

    fn SourcePath::output(self : SourcePath, buf : &Logger) -> Unit

    SourcePath::relative

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

    SourcePath::to_repr

    SourcePath::to_string

    fn SourcePath::to_string(self : SourcePath) -> String

    Target

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

    Target::equal

    fn Target::equal(Target, Target) -> Bool

    Target::hash

    fn Target::hash(self : Target) -> Int

    Target::hash_combine

    fn Target::hash_combine(Target, Hasher) -> Unit

    Target::not_equal

    fn Target::not_equal(x : Target, y : Target) -> Bool

    Target::to_repr

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io