bit_trailers

Commit message trailers (gix-trailers equivalent)

git
trailers
moon add mizchi/bit_trailers@0.46.4
Download zip
Author
Version
0.46.4
License
Apache-2.0
Last updated
4 days ago
Downloads
51
README

#
add_trailer

fn add_trailer(message : String, key : String, value : String) -> String

Add a trailer to a commit message. If the message already has trailers, the new trailer is appended after the existing ones.

#
parse_trailers

fn parse_trailers(message : String) -> Array[(String, String)]

Parse trailer lines from the end of a commit message. Returns an array of (key, value) pairs.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io