Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for FILE (0.16 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy

        }
    
        def "creates a reference to a file which is not under any root directory"() {
            TestFile file = tmpDir.file("file.txt")
    
            expect:
            def reference = factory.fromFile(file)
            reference.file == file
            reference.path == relpath(file)
            !reference.relativeToPathVariable
        }
    
        def "creates a reference for a file under a root directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ArchivesContinuousIntegrationTest.groovy

        def "creating zips"() {
            given:
            def sourceDir = file("src")
            def subDir = sourceDir.file("subdir")
            def outputFile = file("build/distributions/zip.zip")
            def unpackDir = file("build/unpack")
    
            when:
            subDir.mkdirs()
            unpackDir.mkdirs()
            sourceDir.file("README").text = "README"
            subDir.file("A").text = "A"
            buildFile << """
                apply plugin: 'base'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeTest.java

            MinimalFileTree tree = tree("file.txt", action);
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    
            TestFile file = rootDir.file("file.txt");
    
            file.assertContents(equalTo("content"));
            file.makeOlder();
            TestFile.Snapshot snapshot = file.snapshot();
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeCompileSpec.java

        void include(File... includeRoots);
    
        List<File> getSystemIncludeRoots();
    
        void systemInclude(Iterable<File> systemIncludeRoots);
    
        List<File> getSourceFiles();
    
        void setSourceFiles(Collection<File> sources);
    
        void source(Iterable<File> sources);
    
        List<File> getRemovedSourceFiles();
    
        void setRemovedSourceFiles(Collection<File> sources);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

            );
        }
    
        public BuildLayoutParameters(
            @Nullable File gradleInstallationHomeDir,
            File gradleUserHomeDir,
            @Nullable File projectDir,
            File currentDir,
            @Nullable File settingsFile,
            @Nullable File buildFile
        ) {
            this.gradleUserHomeDir = gradleUserHomeDir;
            this.gradleInstallationHomeDir = gradleInstallationHomeDir;
            this.projectDir = projectDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ArtifactFileTest.groovy

            "some-file.zip"     | "some-file"       | "zip"     | "1.2"
            "some-file.zip.zip" | "some-file.zip"   | "zip"     | "1.2"
            ".zip"              | ""                | "zip"     | "1.2"
            "some-file"         | "some-file"       | ""        | "1.2"
    
            "some-file.zip"     | "some-file"       | "zip"     | null
            "some-file.zip.zip" | "some-file.zip"   | "zip"     | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy

            new File(rootDir, "subdir/../../current/outside") | new File(rootDir, "file/inside")
        }
    
        def "returns relative path where file inside of root"() {
            when:
            def file = new File(rootDir, filePath)
            def current = new File(rootDir, "current/dir")
    
            then:
            transform(current, file) == relativePath
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
            assert snapshot.type == FileType.RegularFile
            assert snapshot.hash == hashFile(file)
        }
    
        void assertIsMissingFileSnapshot(FileSystemLocationSnapshot snapshot, File file) {
            assert snapshot.absolutePath == file.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/generate_invalid.txt

    // Go generate should ignore this file.
    
    //go:generate echo Fail b
    
    // +build b
    
    package excluded
    
    
    -- nopkg/a.go --
    // Go file with package clause after comment.
    // Go generate should process this file.
    
    /* Pre-comment */ package nopkg
    //go:generate echo Success a
    
    -- nopkg/b.go --
    // Go file with commented package clause.
    // Go generate should ignore this file.
    
    //package nopkg
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:48:44 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileTreeElement.java

        private final File file;
        private final RelativePath relativePath;
        private final Stat stat;
    
        public DefaultFileTreeElement(File file, RelativePath relativePath, Chmod chmod, Stat stat) {
            super(chmod);
            this.file = file;
            this.relativePath = relativePath;
            this.stat = stat;
        }
    
        public static DefaultFileTreeElement of(File file, FileSystem fileSystem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top