Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 153 for symlinks (0.52 sec)

  1. src/cmd/go/testdata/script/build_cwd_newline.txt

    # Since we do preserve $PWD (or set it appropriately) for commands, and we do
    # not resolve symlinks unnecessarily, referring to the contents of the unsafe
    # directory via a safe symlink should be ok, and should not inject the data from
    # the symlink target path.
    
    [!symlink] stop 'remainder of test checks symlink behavior'
    [short] stop 'links and runs binaries'
    
    symlink $WORK${/}link -> $DIR
    
    [cgo] go run $WORK${/}link${/}main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. cmd/service.go

    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java

        /**
         * Updates the VFS and the watchers after the build finished.
         *
         * This removes content we can't track using file system events, i.e. stuff accessed via symlinks.
         *
         * @return the snapshot hierarchy without snapshots which can't be kept till the next build.
         */
        @CheckReturnValue
        SnapshotHierarchy updateVfsAfterBuildFinished(SnapshotHierarchy root);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. buildscripts/checkdeps.sh

    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    	# Compute the canonicalized name by finding the physical path
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy

      - A Closure that returns any supported value.
      - A Callable that returns any supported value.
      - A Provider that provides any supported value.""")
        }
    
        @Test
        @Requires(UnitTestPreconditions.Symlinks)
        void reportsSymLinkWhichPointsToNothing() {
            TestFile link = testFile('src/file')
            link.createLink(testFile('missing'))
    
            Assert.assertFalse(link.isDirectory())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:48:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. cmd/os_unix.go

    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    				}
    				return err
    			}
    
    			// Ignore symlinked directories.
    			if typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() {
    				continue
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetector.java

                        if (relativePath.isRoot()) {
                            return false;
                        }
                        // Otherwise check for newly added broken symlinks and unreadable files
                        return hasNewContent(relativePath, missingSnapshot);
                    }
                });
                if (newContent) {
                    overlappingPath = snapshot.getAbsolutePath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/fake_hostutil.go

    func (hu *FakeHostUtil) PathExists(pathname string) (bool, error) {
    	if _, ok := hu.Filesystem[pathname]; ok {
    		return true, nil
    	}
    	return false, nil
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks.
    // No-op for testing
    func (hu *FakeHostUtil) EvalHostSymlinks(pathname string) (string, error) {
    	return pathname, nil
    }
    
    // GetOwner returns the integer ID for the user and group of the given path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 13:32:38 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-errors.go

    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    func isSysErrTooLong(err error) bool {
    	return errors.Is(err, syscall.ENAMETOOLONG)
    }
    
    // Check if the given error corresponds to the ELOOP (too many symlinks).
    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            where:
            taskName | packMethod | treeMethod
            "Zip"    | "zipTo"    | "zipTree"
            "Tar"    | "tarTo"    | "tarTree"
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked file permissions are preserved when using #taskName task"() {
            given:
            createDir('parent') {
                mode = 0777
                file('reference.txt').mode = 0746
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top