Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 339 for printfile (0.27 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

                        switch (type) {
                            case FILE:
                                File parentFile = root.getParentFile();
                                if (parentFile != null) {
                                    outputDirectoriesToPreserve.add(parentFile);
                                }
                                break;
                            case DIRECTORY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/WorkspaceFile.groovy

        }
    
        void assertHasProjects(String... paths) {
            assert contentXml.FileRef.size() == paths.length
            paths.each { path ->
                assertHasProject(file.parentFile.parentFile.file(path))
            }
        }
    
        void assertHasProject(File projectFile) {
            assert contentXml.FileRef*.@location*.replaceAll('absolute:', '').contains(projectFile.absolutePath)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy

            when:
            cleanupAction(finder([cacheEntry.parentFile]), { true })
                .clean(cleanableStore, progressMonitor)
    
            then:
            1 * progressMonitor.incrementDeleted()
            cacheEntry.assertDoesNotExist()
            cacheEntry.parentFile.assertDoesNotExist()
            deletedFiles == [cacheEntry.parentFile]
        }
    
        def "deletes empty parent directories"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/PCHUtilsTest.groovy

                getTempDir() >> tempDir
            }
    
            when:
            def generated = PCHUtils.generatePCHSourceFile(spec, sourceFile)
    
            then:
            generated.name == "test.${extension}"
            generated.parentFile == pchSourceDir
            generated.text == "#include \"test.h\""
            pchSourceDir.assertContainsDescendants("test.h", "test.${extension}")
    
            where:
            type              | extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerSmokeTest.groovy

            if (!androidLock.exists()) {
                androidLock.parentFile.mkdirs()
                androidLock.createNewFile()
            }
            def androidFakeDependency = new File(gradleHome, "android/FakeDependency.jar")
            if (!androidFakeDependency.exists()) {
                androidFakeDependency.parentFile.mkdirs()
                new JarOutputStream(new FileOutputStream(androidFakeDependency)).close()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/mime/quotedprintable/writer.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package quotedprintable
    
    import "io"
    
    const lineMaxLen = 76
    
    // A Writer is a quoted-printable writer that implements [io.WriteCloser].
    type Writer struct {
    	// Binary mode treats the writer's input as pure binary and processes end of
    	// line bytes as binary data.
    	Binary bool
    
    	w    io.Writer
    	i    int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy

            path.url == 'file://$ROOT_DIR$/../../a/b'
            path.relPath == '$ROOT_DIR$/../../a/b'
        }
    
        def createsRelativePathForASiblingOfRootDir() {
            factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory)
    
            expect:
            def path = factory.relativePath('ROOT_DIR', tmpDir.testDirectory.parentFile.file('a'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/buildship.gradle

            def manifestFile = new File(projectDirectory, "META-INF/MANIFEST.MF")
            if (!manifestFile.parentFile.exists()) {
                def success = manifestFile.parentFile.mkdirs()
                if (!success) {
                    throw new GradleException("Unable to create directory ${manifestFile.parentFile.absolutePath}")
                }
            }
            manifestFile.text = calculateManifest(projectVersion.get(), jarFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

         */
        protected void publish(TestFile file, @DelegatesTo(value=Writer, strategy=Closure.DELEGATE_FIRST) Closure cl, byte[] content = null) {
            file.parentFile.mkdirs()
            def hashBefore = file.exists() ? Hashing.sha1().hashFile(file) : null
            def tmpFile = file.parentFile.file("${file.name}.tmp")
    
            if (content) {
                tmpFile.bytes = content
            } else if (isJarFile(file)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TestWithClassPath.kt

            newFolder().also { rootDir ->
                for ((path, bytes) in classEntriesFor(classes)) {
                    File(rootDir, path).apply {
                        parentFile.mkdirs()
                        writeBytes(bytes)
                    }
                }
            }
        )
    }
    
    
    internal
    fun TestWithTempFiles.classPathWithPublicType(name: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top