Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for createFile2 (0.17 sec)

  1. src/os/types_windows.go

    	// “Applications that use the CreateFile function should specify the
    	// FILE_FLAG_OPEN_REPARSE_POINT flag when opening the file if it is a reparse
    	// point.”
    	//
    	// And per https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew,
    	// “If the file is not a reparse point, then this flag is ignored.”
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                    outputFile = project.file("\${buildDir}/output.txt")
                }
            """
            file('foo').mkdir()
            file('foo/a').createFile()
            file('foo/b').createFile()
            file('bar').mkdir()
            file('bar/a').createFile()
    
            when:
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            long lastCleanupCheck = initializeHome()
    
            when:
            def newTrashFile = temporaryFolder.file("0" * hashStringLength).createFile()
            def oldTrashFile = temporaryFolder.file("1" * hashStringLength).createFile()
            createBuildCacheEntry("0" * hashStringLength, newTrashFile, System.currentTimeMillis())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                fileCollection.from(sourceDirs.srcDirTrees)
                println("files = \${fileCollection.files.name.sort()}")
            """
    
            given:
            file("dir1/file1").createFile()
            file("dir1/file2").createFile()
            file("dir2/sub/file3").createFile()
    
            expect:
            succeeds()
            outputContains("files = [file1, file2, file3]")
        }
    
        def "can view the elements of file collection as a Provider"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            skipped ':producesLink'
    
            when:
            target.createFile()
            run 'producesLink'
            then:
            executedAndNotSkipped ':producesLink'
        }
    
        @Issue('https://github.com/gradle/gradle/issues/1365')
        def "broken symlink not produced by task is ignored"() {
            given:
            def input = file("input.txt").createFile()
            def outputDirectory = file("output")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            """
            buildFile << """
                apply plugin: 'cpp-application'
            """
            def headerDir = file('src/main/headers')
            def src1 = file('src/main/cpp/app.cpp').createFile()
            def src2 = file('src/main/cpp/app-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    
            then:
            project.projectIdentifier.projectPath == ':'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            parameter.allInitScripts.empty
    
            when:
            def userMainInit = gradleUserHomeDir.createFile("init.gradle")
            then:
            parameter.allInitScripts == [userMainInit]
    
            when:
            def userInit1 = gradleUserHomeDir.createFile("init.d/1.gradle")
            def userInit2 = gradleUserHomeDir.createFile("init.d/2.gradle")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

                }
            """
            def headerDir = file('src/main/headers')
            def src1 = file('src/main/cpp/app.cpp').createFile()
            def src2 = file('src/main/cpp/app-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    
            then:
            project.projectIdentifier.projectPath == ':'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores jars which have the same prefix as an external module"() {
            given:
            distDir.createFile("dep-launcher-1.2.jar")
            distDir.createFile("dep-launcher-1.2-beta-3.jar")
            def registry = new DefaultModuleRegistry(classLoaderFor([]), ClassPath.EMPTY, new GradleInstallation(distDir))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle').createFile()
            producer.file('build.gradle') << """
                plugins {
                    id('java-gradle-plugin')
                    id('maven-publish')
                }
    
                group = "com.example"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top