Skip to main content

stage_with_bytes

Function stage_with_bytes 

Source
pub async fn stage_with_bytes<F>(
    payload: &StagingPayloadV1,
    policy: &GitHubDraftPolicyV1,
    transport: &impl GithubApi,
    token: &str,
    bytes_for: F,
) -> Result<GitHubDraftReceiptV1, GithubError>
where F: FnMut(&str) -> Result<Vec<u8>, GithubError>,
Expand description

Testable staging core with explicit local bytes.