INNER CODE UNIT · Python
_marker
dotnet/sdk · .github/scripts/check_vendored_files.py:298
def _marker(entry_id: str, source_index: int) -> str:
return f"<!-- vendored-sync:id={entry_id}:{source_index} -->"
def _render_issue_body(result: DriftResult) -> str:
entry = result.entry
source = result.source
marker = _marker(entry.id, result.source_index)
cur_ref = result.current_ref_sha or source.ref
base_ref = source.baseline_ref_sha
repo = source.repo
lines = [
marker,
"",
f"Automated drift report for vendored file **`{entry.local_path}`**.",
"",
"## Source",