- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 139 for isFile (0.22 sec)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 23 18:27:26 UTC 2024 - 5.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
for (entry in parameters.keepClassesByArtifact) { val fileName = artifact.get().asFile.name if (fileName.startsWith(entry.key)) { val nameWithoutExtension = Files.getNameWithoutExtension(fileName) minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar")) return } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
import os from pathlib import Path from fastapi.testclient import TestClient from docs_src.background_tasks.tutorial001 import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 578 bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py
from pathlib import Path from fastapi.testclient import TestClient from docs_src.background_tasks.tutorial002_an import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 571 bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
if (hasCleaned) { return } logger.lifecycle("Cleaning up caches...") val homeDir = parameters.homeDir.get() homeDir.asFile.listFiles()?.filter { it.name.startsWith("distributions-") }?.forEach { val workerDir = homeDir.dir(it.name) cleanupDistributionCaches(workerDir, GradleVersion.version(parameters.gradleVersion.get()))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
@TaskAction def transform() { logging.captureStandardOutput(LogLevel.INFO) logging.captureStandardError(LogLevel.INFO) def destDir = destinationDirectory.get().asFile fs.delete { delete(destDir, temporaryDir) } def xslClasspath = classpath.plus(objects.fileCollection().from(ClasspathUtil.getClasspathForClass(XslTransformer))) fs.copy {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.7K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 19 13:21:47 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "SmallerThan") return } z.SmallerThan = nil } else { if z.SmallerThan == nil { z.SmallerThan = new(string) } *z.SmallerThan, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SmallerThan") return } } case "SkipErrs": if dc.IsNil() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) { this } else { val parent = dir("..") when { parent.file("version.txt").asFile.exists() -> parent this == parent -> error("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "b", "b") while (taskFaker.isIdle()) { assertValue("a", "a", "a") assertValue("b", "b", "b") } } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun rebuildJournalOnRepeatedEdits(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) while (taskFaker.isIdle()) { set("a", "a", "a") set("b", "b", "b")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0)