- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for isfile (0.05 seconds)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
Files.createParentDirs(file); } public void testCreateParentDirs_noParentsNeeded() throws IOException { File file = file(getTempDir(), "nonexistent.file"); assertTrue(file.getParentFile().exists()); Files.createParentDirs(file); } public void testCreateParentDirs_oneParentNeeded() throws IOException { File file = file(getTempDir(), "parent", "nonexistent.file"); File parent = file.getParentFile();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt
val currentVersion = versionFile.asFile.get().readText().trim() val patchVersion = bumpPatchVersion(currentVersion) val major = currentVersion.split(".")[0].toInt() val previousReleasedVersion = fetchVersionFromGradleServices(major, currentVersion) versionFile.asFile.get().writeText(patchVersion) updateReleasedVersionFile(releasedVersionsFile.asFile.get(), previousReleasedVersion)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.8K bytes - Click Count (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() } } fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json") /**
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt
@get:Internal abstract val currentReleasedVersion: Property<ReleasedVersion> @TaskAction fun updateVersions() { updateReleasedVersionFile(releasedVersionsFile.get().asFile, currentReleasedVersion.get()) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 1.3K bytes - Click Count (0) -
build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt
@Suppress("UnstableApiUsage") private fun git(vararg args: String): Provider<String> { val projectDir = parameters.rootProjectDir.asFile.get() val execOutput = providers.exec { workingDir = projectDir isIgnoreExitValue = true commandLine = listOf("git", *args) if (OperatingSystem.current().isWindows) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 2.2K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.1K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
} } val futurePluginVersionsPropertiesFile = layout.buildDirectory.file("generated-resources/future-plugin-versions/future-plugin-versions.properties") val writeFuturePluginVersions by tasks.registering(WriteProperties::class) { destinationFile = futurePluginVersionsPropertiesFile } val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile } sourceSets.main {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 11:01:20 GMT 2026 - 6.2K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
} return Gson().fromJson(response.body(), GitHubIssueSearchResult::class.java).items } private 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)) {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) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
} } fun readCapabilitiesFromJson() { val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile val capabilities: List<CapabilitySpec> = readCapabilities(capabilitiesFile) capabilities.forEach { it.configure(dependencies.components, configurations) } } fun readCapabilities(source: File): List<CapabilitySpec> { JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("valueOf(\"FILE\") should return FILE", ProtocolType.FILE, ProtocolType.valueOf("FILE")); } // Test ProtocolType name @Test public void test_protocolTypeName() { assertEquals("WEB.name() should return \"WEB\"", "WEB", ProtocolType.WEB.name()); assertEquals("FILE.name() should return \"FILE\"", "FILE", ProtocolType.FILE.name()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0)