- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of about 10,000 for FILE (0.11 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCacheCleanup.java
int filesDeleted = 0; for (File file : findEligibleFiles(cleanableStore)) { if (shouldDelete(file)) { progressMonitor.incrementDeleted(); if (FileUtils.deleteQuietly(file)) { handleDeletion(file); filesDeleted += 1 + deleteEmptyParentDirectories(cleanableStore.getBaseDir(), file.getParentFile()); } } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/JvmLanguageCompileSpec.java
import javax.annotation.Nullable; import java.io.File; import java.util.List; public interface JvmLanguageCompileSpec extends CompileSpec { File getTempDir(); void setTempDir(File tempDir); File getWorkingDir(); void setWorkingDir(File workingDir); File getDestinationDir(); void setDestinationDir(File destinationDir); Iterable<File> getSourceFiles();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIncludedBuildIntegrationTest.groovy
import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.plugin.PluginBuilder class BuildSrcIncludedBuildIntegrationTest extends AbstractIntegrationSpec { def "buildSrc can use a library contributed by a build that it includes"() { file("buildSrc/settings.gradle") << """ includeBuild("../included") """ file("buildSrc/build.gradle") << """ dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 13 02:04:28 UTC 2022 - 11.2K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy
expect: succeeds('check') file("build/reports/checkstyle/main.sarif").assertDoesNotExist() file("build/reports/checkstyle/test.sarif").assertDoesNotExist() file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.Class1")) file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.Class2"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 19.2K bytes - Viewed (0) -
src/cmd/go/internal/web/url_other_test.go
}, { url: `file://localhost/path/to/file`, filePath: `/path/to/file`, canonicalURL: `file:///path/to/file`, }, // We reject non-local files. { url: `file://host.example.com/path/to/file`, wantErr: "file URL specifies non-local host", },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 828 bytes - Viewed (0) -
platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformer.java
public static Transformer<String, File> forFile(File rootDir, File relativeFile) { return new RelativeFileNameTransformer(rootDir, relativeFile.getParentFile()); } public static Transformer<String, File> forDirectory(File rootDir, File currentDirectory) { return new RelativeFileNameTransformer(rootDir, currentDirectory); } public static Transformer<String, File> from(File file) { if (file.isFile()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy
and: def distBase = file("build/install/application") distBase.file("dir").directory distBase.file("dir/r1.txt").text == "r1" distBase.file("dir/r2.txt").text == "r2" } def "configure the distribution spec to source from a different dir"() { when: file("src/somewhere-else/dir").with { file("r1.txt") << "r1" file("r2.txt") << "r2" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 22:15:44 UTC 2024 - 15.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileCollection.java
* {@code getFiles().contains(file)}. * * @param file The file to check for. * @return true if this collection contains the given file, false otherwise. */ boolean contains(File file); /** * Returns the contents of this collection as a platform-specific path. This can be used, for example, in an Ant * <path> element.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 05 15:51:59 UTC 2021 - 8.3K bytes - Viewed (0) -
pkg/kubelet/kubeletconfig/util/files/files.go
if err != nil { return err } // create the file file, err := fs.Create(path) if err != nil { return err } // close the file, since we don't intend to use it yet return file.Close() } // WriteTmpFile creates a temporary file at `path`, writes `data` into it, and fsyncs the file // Expects the parent directory to exist.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 01:02:46 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy
def location = tmpDir.createFile("file") expect: def file = factory.file(location) file.asFile == location } def "can create file instance from relative file"() { def location = projectDir.createFile("file") expect: def file = factory.file(new File("file")) file.asFile == location }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.4K bytes - Viewed (0)