Skip to main content

Module upload

Module upload 

Source

Structs§

CliPoster
Posts with the az or gh CLI, as whoever they are signed in as.

Traits§

Poster
Posts one note to a pull request as a comment on its line.

Functions§

azure_thread
The Azure DevOps request that opens a thread on the note’s line: its URL and body. A removed line is anchored on the left (target) side of the diff.
github_comment
The gh api arguments that comment on the note’s line at the PR’s head commit, or, with on_file, on the file as a whole with the line named in the text.
offer_upload
After a review of a pull request, offers to post its notes there. Lists what would be posted, asks, and posts only on an explicit yes. Posted notes leave the store; notes that fail stay, so nothing is posted twice and nothing is lost.