- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 158 for isFile (0.04 sec)
-
tests/test_tutorial/test_background_tasks/test_tutorial002.py
mod = importlib.import_module(f"docs_src.background_tasks.{request.param}") client = TestClient(mod.app) return client def test(client: TestClient): 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 996 bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt
} return systemProperties } private fun getStudioHome(): String { if (autoDownloadAndroidStudio) { val androidStudioPath = studioInstallation.studioInstallLocation.asFile.get().absolutePath return "-Dstudio.home=$androidStudioPath" } else if (androidStudioHome.isPresent) { return "-Dstudio.home=${androidStudioHome.get()}" }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 20 09:51:32 UTC 2024 - 2.9K bytes - Viewed (0) -
logger/sql.go
} } else { vars[idx] = nullStr } case driver.Valuer: reflectValue := reflect.ValueOf(v) if v != nil && reflectValue.IsValid() && ((reflectValue.Kind() == reflect.Ptr && !reflectValue.IsNil()) || reflectValue.Kind() != reflect.Ptr) { r, _ := v.Value() convertParams(r, idx) } else { vars[idx] = nullStr } case fmt.Stringer: reflectValue := reflect.ValueOf(v)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt
val name = this.name return incoming.files.elements.map { require(it.size <= 1) { "Expected at most one file in configuration '$name' but found: $it" } it.firstOrNull()?.asFile } } fun NamedDomainObjectProvider<Configuration>.getSingleFileProvider(): Provider<File> { return this.flatMap { configuration -> configuration.getSingleFileProvider() }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 1.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt
@DisableCachingByDefault(because = "Not worth caching") abstract class CheckSubprojectsInfo : SubprojectsInfo() { @TaskAction fun checkSubprojectsInfo() { if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) { throw GradleException( "New project(s) added without updating subproject JSON. Please run `:${GenerateSubprojectsInfo.TASK_NAME}` task." )
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 1.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
@get:Internal abstract val distZipVersion: Property<String> override fun asArguments(): Iterable<String> { val distributionDir = gradleDistribution.homeDir.get().asFile return mapOf( "integTest.gradleHomeDir" to distributionDir, "integTest.gradleUserHomeDir" to absolutePathOf(gradleUserHomeDir.dir(gradleDistribution.name)),Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 7.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy
private final File acceptedViolationsDir private Map<String, String> acceptedViolations = null AcceptedViolationsProvider(Directory acceptedViolationsDir) { this.acceptedViolationsDir = acceptedViolationsDir.asFile } Map<String, String> get() { if (acceptedViolations == null) { acceptedViolations = AcceptedApiChanges.parse( acceptedViolationsDir.listFiles()Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 1.3K bytes - Viewed (0) -
schema/field.go
if !fieldValue.IsValid() { fieldValue = reflect.New(fieldType) } else if fieldValue.IsNil() { fieldValue.Set(reflect.New(fieldType)) } fieldValue.Elem().Set(reflectV) return } else if reflectValType.ConvertibleTo(fieldType) { if fieldValue.IsNil() { fieldValue.Set(reflect.New(fieldType)) } fieldValue.Elem().Set(reflectV.Convert(fieldType))
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 32.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/GenerateSubprojectsInfo.kt
@DisableCachingByDefault(because = "Not worth caching") abstract class GenerateSubprojectsInfo : SubprojectsInfo() { @TaskAction fun generateSubprojectsInfo() { subprojectsJson.asFile.writeText(generateSubprojectsJson()) } companion object { internal const val TASK_NAME = "generateSubprojectsInfo" }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 08 13:44:59 UTC 2021 - 1.1K bytes - Viewed (0) -
buildSrc/src/main/kotlin/JavaModules.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 1.9K bytes - Viewed (0)