- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for vfsfile (0.03 seconds)
-
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) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
// fess.var.path and fess.conf.path not set final File varFile = new File(varDir.toFile(), "test.txt"); varFile.getParentFile().mkdirs(); varFile.createNewFile(); // Should throw because only fess.webapp.path is set and the file is not under it assertThrows(IllegalArgumentException.class, () -> action.validateFilePath(varFile.getAbsolutePath())); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K 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() } }
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) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); File dir = asciiFile.getParentFile(); assertTrue(Files.isDirectory().apply(dir)); assertFalse(Files.isFile().apply(dir)); assertFalse(Files.isDirectory().apply(asciiFile)); assertTrue(Files.isFile().apply(asciiFile)); } /** Returns a root path for the file system. */ private static File root() { return File.listRoots()[0]; }
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) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
boolean hasWeb = false; boolean hasFile = false; for (final ProtocolType type : values) { if (type == ProtocolType.WEB) { hasWeb = true; } else if (type == ProtocolType.FILE) { hasFile = true; } } assertTrue("Should have WEB protocol type", hasWeb);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) -
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/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
selectHighestVersion() } } } 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) } }
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) -
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 writeFuturePluginVersions by tasks.registering(WriteProperties::class) { destinationFile = futurePluginVersionsPropertiesFile } val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile } sourceSets.main { output.dir(mapOf("builtBy" to writeFuturePluginVersions), futurePluginVersionsDestDir) } configurations.runtimeElements { outgoing { variants.named("resources") {
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)