- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for relative_to (0.06 seconds)
-
scripts/docs.py
Add or update header permalinks in specific page of En docs. """ if not path.is_relative_to(en_docs_path / "docs"): raise RuntimeError(f"Path must be inside {en_docs_path}") rel_path = path.relative_to(en_docs_path / "docs") # Skip excluded sections if str(rel_path).startswith(non_translated_sections): return visible_text_extractor = VisibleTextExtractor() updated_lines = []Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 16.9K bytes - Click Count (0) -
scripts/translate.py
continue yield path def iter_en_paths_to_translate() -> Iterable[Path]: en_docs_root = Path("docs/en/docs/") for path in iter_all_en_paths(): relpath = path.relative_to(en_docs_root) if not str(relpath).startswith(non_translated_sections): yield path @app.command() def translate_lang(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
private fun sourceNamesFromDir(dir: File): Sequence<String> = dir.walkTopDown() .filter { it.name.isClassFilePath } .map { kotlinSourceNameOf(normaliseFileSeparators(it.relativeTo(dir).path)) } private fun classBytesIndexFor(entry: Any): ClassBytesIndex = when (entry) { is File -> when { entry.isClassPathArchive -> jarClassBytesIndexFor(entry)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 6.3K bytes - Click Count (0)