xmyd0915/moonar/cmd/main does not have a README file

    atomic_write

    fn atomic_write(path : String, data : Bytes, overwrite : Bool) -> Result[Unit, String]

    Publish a complete file using an exclusively created temporary file in the destination directory. An unsuccessful operation leaves the old file intact.

    canonical_path

    fn canonical_path(path : String) -> Result[String, String]

    check_member_path

    fn check_member_path(base : String, target : String) -> Result[Unit, String]

    Resolve existing paths and require the target to remain inside base. Callers must avoid concurrent path mutation between this check and opening.

    cli_argument_start

    fn cli_argument_start() -> Int