Skip to main content

draft_context

Function draft_context 

Source
pub fn draft_context(repo_root: &Path, slug: &str) -> Result<Option<String>>
Expand description

The markdown section crate::draft::drive_draft appends to the drafter’s seed: the most recent MAX_DRAFT_NOTES notes as bullets, with an omission marker when older ones were capped. None when the ticket has no notes (the seed is then exactly the folded ticket, as before).