- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for new_context (0.05 seconds)
-
scripts/people.py
def update_content(*, content_path: Path, new_content: Any) -> bool: old_content = content_path.read_text(encoding="utf-8") new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True) if old_content == new_content: logging.info(f"The content hasn't changed for {content_path}") return False content_path.write_text(new_content, encoding="utf-8")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:51:24 GMT 2026 - 15K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
fun updateReleaseNotes(issuesList: String) { val notesFile = releaseNotes.asFile.get() val content = notesFile.readText() val newSection = "$FIXED_ISSUES_INTRO\n\n$issuesList\n" val newContent = if (content.contains(FIXED_ISSUES_INTRO)) { val introStart = content.indexOf(FIXED_ISSUES_INTRO) val afterIntro = introStart + FIXED_ISSUES_INTRO.length
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 5.1K bytes - Click Count (0)