bit_runtime

    Runtime helpers (storage_runtime, etc.)

    git
    runtime
    Download zip
    Author
    Version
    0.48.0
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    106

    StorageAddArgs

    pub(all) struct StorageAddArgs {
    add_all : Bool
    paths : Array[String]
    }

    StorageCommand

    pub(all) enum StorageCommand {
    Init(StorageInitArgs)
    Add(StorageAddArgs)
    Commit(StorageCommitArgs)
    Status(StorageStatusArgs)
    Log(StorageLogArgs)
    HashObject(StorageHashObjectArgs)
    WriteTree(StorageWriteTreeArgs)
    UpdateRef(StorageUpdateRefArgs)
    }

    StorageCommitArgs

    pub(all) struct StorageCommitArgs {
    message : String
    all_modified : Bool
    allow_empty : Bool
    quiet : Bool
    encoding : String
    }

    StorageHashObjectArgs

    pub(all) struct StorageHashObjectArgs {
    write_object : Bool
    stdin_mode : Bool
    stdin_paths : Bool
    no_filters : Bool
    literally : Bool
    obj_type :
    ObjectType

    paths : Array[String]
    object_format : String
    path_hint : String
    }

    StorageInitArgs

    pub(all) struct StorageInitArgs {
    quiet : Bool
    default_branch : String
    ref_format : String
    object_format : String
    }

    StorageLogArgs

    pub(all) struct StorageLogArgs {
    oneline : Bool
    max_count : Int
    }

    StorageStatusArgs

    pub(all) struct StorageStatusArgs {
    porcelain : Bool
    short : Bool
    show_branch : Bool
    }

    StorageUpdateRefArgs

    pub(all) struct StorageUpdateRefArgs {
    delete_mode : Bool
    refname : String
    new_value : String?
    old_value : String?
    }

    StorageWriteTreeArgs

    pub(all) struct StorageWriteTreeArgs {
    prefix : String?
    missing_ok : Bool
    }

    run_storage_command

    fn run_storage_command(fs : &
    FileSystem
    , rfs : &
    RepoFileSystem
    , root : String, command : StorageCommand) -> Unit raise

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io