MCPcopy Create free account
hub / github.com/TUM-Dev/NavigaTUM / get_pr_description

Method get_pr_description

server/src/external/github.rs:344–355  ·  view source on GitHub ↗
(self, pr_number: u64)

Source from the content-addressed store, hash-verified

342 anyhow::bail!("GitHub client not initialized");
343 };
344
345 let pr = octocrab
346 .pulls("TUM-Dev", "NavigaTUM")
347 .get(pr_number)
348 .await?;
349
350 Ok(pr.body.unwrap_or_default())
351 }
352
353 /// Update PR description (body)
354 #[tracing::instrument(skip(description))]
355 pub async fn update_pr_description(
356 self,
357 pr_number: u64,
358 description: &str,

Callers 1

update_batch_pr_metadataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected