Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for sameFile (0.28 sec)

  1. maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            assertActivation(false, newExistsProfile("someFile.txt"), context);
            assertActivation(false, newExistsProfile("${basedir}/someFile.txt"), context);
    
            assertActivation(false, newMissingProfile(null), context);
            assertActivation(true, newMissingProfile("someFile.txt"), context);
            assertActivation(true, newMissingProfile("${basedir}/someFile.txt"), context);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/locking/ExclusiveFileAccessManagerTest.groovy

            when:
            manager.access(fileWithSameNameAsDirectory.file('someFile.zip')) {
            }
    
            then:
            RuntimeException e = thrown()
            e.message == "Could not create parent directory for lock file ${fileWithSameNameAsDirectory.file('someFile.zip.lck').absolutePath}"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle

    tree.visit {element ->
        println "$element.relativePath => $element.file"
    }
    // end::use[]
    
    // tag::archive-trees[]
    // Create a ZIP file tree using path
    FileTree zip = zipTree('someFile.zip')
    
    // Create a TAR file tree using path
    FileTree tar = tarTree('someFile.tar')
    
    //tar tree attempts to guess the compression based on the file extension
    //however if you must specify the compression explicitly you can:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            TestFile dir = tmpDir.getTestDirectory()
            dir.file("someFile").createFile()
    
            when:
            boolean didWork = deleter.deleteRecursively(dir)
    
            then:
            dir.assertDoesNotExist()
            didWork
        }
    
        def "deletes file"() {
            given:
            TestFile dir = tmpDir.getTestDirectory()
            TestFile file = dir.file("someFile")
            file.createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy

            def file = tmpDir.file("someFile")
    
            when:
            fs.getUnixMode(file)
    
            then:
            FileException e = thrown()
            e.message == "Could not get file mode for '$file'."
        }
    
        def "unix permissions cannot be set on non existing file"() {
            def file = tmpDir.file("someFile")
    
            when:
            fs.chmod(file, 0644)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy

            !delete.getDidWork()
        }
    
        def "get target files and multiple targets"() {
            when:
            delete.delete("someFile")
            delete.delete(new File("someOtherFile"))
            delete.getTargetFiles()
    
            then:
            delete.getDelete() == WrapUtil.toSet("someFile", new File("someOtherFile"))
            delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

      udevadm control --reload-rules
      udevadm trigger
      udevadm settle
    
      # find uuid for actual_device
      local myuuid
      myuuid=$(find -L /dev/disk/by-uuid -maxdepth 1 -samefile /dev/"${actual_device}" -printf '%P')
      # myuuid should be the uuid of the device as found in /dev/disk/by-uuid/
      if [[ -z "${myuuid}" ]]; then
        echo "Failed to get a uuid for device ${actual_device} when mounting." >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/tests/buildServiceFromWorkAction.out

    > Task :download
    Server is running at https://localhost:5005/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 110 bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/bundling/AbstractArchiveTaskTest.groovy

        }
    
        def "uses custom archive name when set"() {
            when:
            archiveTask.archiveFileName.set('somefile.out')
    
            then:
            archiveTask.archiveFileName.get() == 'somefile.out'
        }
    
        def "correct archive path"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 07 10:40:13 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  10. src/net/http/cookiejar/jar.go

    	}
    
    	e.Value = c.Value
    	e.Quoted = c.Quoted
    	e.Secure = c.Secure
    	e.HttpOnly = c.HttpOnly
    
    	switch c.SameSite {
    	case http.SameSiteDefaultMode:
    		e.SameSite = "SameSite"
    	case http.SameSiteStrictMode:
    		e.SameSite = "SameSite=Strict"
    	case http.SameSiteLaxMode:
    		e.SameSite = "SameSite=Lax"
    	}
    
    	return e, false, nil
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top