Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 153 for symlinks (0.91 sec)

  1. src/cmd/internal/bootstrap_test/overlaydir_test.go

    		if info.IsDir() {
    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    		// If we can use a hard link, do that instead of copying bytes.
    		// Go builds don't like symlinks in some cases, such as go:embed.
    		if err := os.Link(srcPath, dstPath); err == nil {
    			return nil
    		}
    
    		// Otherwise, copy the bytes.
    		src, err := os.Open(srcPath)
    		if err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:35:05 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy

            directories*.source.unique() == ["Common Linux Locations"]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "supplies installations with symlinked candidate"() {
            given:
            def otherLocation = temporaryFolder.createDir("other")
            candidates.createDir("14-real")
            candidates.file("symlinked").createLink(otherLocation.canonicalFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. build/build-image/rsyncd.sh

    USER_CONFIG=
    if [[ "$(id -u)" == "0" ]]; then
      USER_CONFIG="  uid = 0"$'\n'"  gid = 0"
    fi
    
    cat <<EOF >"${CONFFILE}"
    pid file = ${PIDFILE}
    use chroot = no
    log file = /dev/stdout
    reverse lookup = no
    munge symlinks = no
    port = 8730
    [k8s]
      numeric ids = true
      $USER_CONFIG
      hosts deny = *
      hosts allow = ${ALLOW} ${ALLOW_HOST-}
      auth users = k8s
      secrets file = ${SECRETS}
      read only = false
      path = ${VOLUME}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 15:58:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy

            def metadata2 = detector.getMetadata(testLocation("jdk"))
    
            then:
            metadata1.is(metadata2)
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "cached probe are not affected by symlink changes"() {
            given:
            NativeServicesTestFixture.initialize()
            def metaDataDetector = new DefaultJvmMetadataDetector(
                TestFiles.execHandleFactory(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/imports/scan.go

    	var files []string
    	for _, info := range infos {
    		name := info.Name()
    
    		// If the directory entry is a symlink, stat it to obtain the info for the
    		// link target instead of the link itself.
    		if info.Mode()&fs.ModeSymlink != 0 {
    			info, err = fsys.Stat(filepath.Join(dir, name))
    			if err != nil {
    				continue // Ignore broken symlinks.
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 19:36:38 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    		if err := f.Truncate(0); err != nil {
    			// The documentation for os.O_TRUNC says “if possible, truncate file when
    			// opened”, but doesn't define “possible” (golang.org/issue/28699).
    			// We'll treat regular files (and symlinks to regular files) as “possible”
    			// and ignore errors for the rest.
    			if fi, statErr := f.Stat(); statErr != nil || fi.Mode().IsRegular() {
    				filelock.Unlock(f)
    				f.Close()
    				return nil, err
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/scan.go

    // encoded representation. It returns ErrNotIndexed if the module can't
    // be indexed because it contains symlinks.
    func indexModule(modroot string) ([]byte, error) {
    	fsys.Trace("indexModule", modroot)
    	var packages []*rawPackage
    
    	// If the root itself is a symlink to a directory,
    	// we want to follow it (see https://go.dev/issue/50807).
    	// Add a trailing separator to force that to happen.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleConfigurabilityIntegrationSpec.groovy

        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "handles java home that is a symlink"() {
            given:
            def javaHome = Jvm.current().javaHome
            def javaLink = file("javaLink")
            javaLink.createLink(javaHome)
            file("tmp").createDir().deleteDir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_find.txt

    stderr '^go: go.mod file not found in current directory or any parent directory; see ''go help modules''$'
    
    [!symlink] stop
    
    # gplink1/src/empty where gopathlink -> GOPATH
    symlink $WORK/gopathlink -> gopath
    cd $WORK/gopathlink/src/empty
    go mod init
    rm go.mod
    
    # GOPATH/src/link where link -> out of GOPATH
    symlink $GOPATH/src/link -> $WORK/empty
    cd $WORK/empty
    ! go mod init
    cd $GOPATH/src/link
    go mod init
    stderr link
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. ci/official/upload.sh

      FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL"
      gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI"
    
      # Also mirror the latest-uploaded folder to the "latest" directory.
      # GCS does not support symlinks.
      gsutil -m rsync -d -r "$FINAL_URI" "$TFCI_ARTIFACT_LATEST_GCS_URI"
    fi
    
    if [[ "$TFCI_ARTIFACT_FINAL_PYPI_ENABLE" == 1 ]]; then
      twine upload $TFCI_ARTIFACT_FINAL_PYPI_ARGS "$DOWNLOADS"/*.whl
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 20:52:12 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top