- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 607 for IsFile (0.1 sec)
-
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy
Outer.Inner.Deeper weMustGoDeeper = null """ ] } private void checkScriptClassesInCache(boolean empty = false) { assertTrue(scriptCacheDir.isDirectory()) assertTrue(cachedFile.isFile()) checkEmptyScriptFlagSet(empty) } private void checkEmptyScriptInCache() { assertTrue(scriptCacheDir.isDirectory()) checkEmptyScriptFlagSet(true) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 19.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/NormalizingCopyActionDecorator.java
@Override public File getFile() { throw new UnsupportedOperationException(); } @Override public boolean isDirectory() { return !path.isFile(); } @Override public long getLastModified() { return lastModified; } @Override public long getSize() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 8.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
} """ } static void assertHasImplementationClasspath(File pluginMetadata, List<File> expected) { assert pluginMetadata.exists() && pluginMetadata.isFile() assert !pluginMetadata.text.contains("#") def implementationClasspath = GUtil.loadProperties(pluginMetadata).getProperty(IMPLEMENTATION_CLASSPATH_PROP_KEY) assert !implementationClasspath.contains("\\")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/LayoutToPropertiesConverter.java
} } } private static Properties readProperties(File propertiesFile) { Properties properties = new Properties(); if (propertiesFile.isFile()) { try { try (FileInputStream inputStream = new FileInputStream(propertiesFile)) { properties.load(inputStream); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 21:41:57 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy
} } static FileCheck fileExists(String filePath) { new FileCheck(filePath, "exists") } static FileCheck fileIsFile(String filePath) { new FileCheck(filePath, "isFile") } static FileCheck fileIsDirectory(String filePath) { new FileCheck(filePath, "isDirectory") } static UndeclaredFileAccess directoryContent(String directoryPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt
result.output.contains(error) ) } private fun assertTargetIsPreserved() { assertTrue((target.list()?.size ?: 0) > 0) assertTrue(target.walk().filter { it.isFile }.all { it.readText() == "stub" }) } private fun createMinimalDistribution() { projectRoot.mkdir() File(projectRoot, "build.gradle.kts").writeText(""" plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:26 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt
) } private fun generatedExtensionsJarFromGradleInstallation(gradleHomeDir: File): File = gradleHomeDir.resolve("lib") .listFiles { f -> f.isFile && f.name.startsWith("gradle-kotlin-dsl-extensions-") }!! .single()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:53:16 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt
existing(relativePath).apply { assert(mkdirs()) } protected fun newOrExisting(fileName: String) = existing(fileName).let { when { it.isFile -> it else -> newFile(fileName) } } protected fun existing(relativePath: String): File = canonicalFile(relativePath) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 16:44:39 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/dist/util.go
} return real } // isdir reports whether p names an existing directory. func isdir(p string) bool { fi, err := os.Stat(p) return err == nil && fi.IsDir() } // isfile reports whether p names an existing file. func isfile(p string) bool { fi, err := os.Stat(p) return err == nil && fi.Mode().IsRegular() } // mtime returns the modification time of the file p. func mtime(p string) time.Time {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 17:50:29 UTC 2023 - 11.2K bytes - Viewed (0)