Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 389 for symlinks (0.23 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy

            }
            visitedDirectories.size() == 2
            visitedDirectories.every {
                it.isDirectory()
            }
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "missing symbolic link causes an exception - walker: #walkerInstance.class.simpleName"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def dir = rootDir.createDir("a/b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. pkg/volume/util/hostutil/hostutil.go

    	// PathExists tests if the given path already exists
    	// Error is returned on any other error than "file not found".
    	PathExists(pathname string) (bool, error)
    	// EvalHostSymlinks returns the path name after evaluating symlinks.
    	EvalHostSymlinks(pathname string) (string, error)
    	// GetOwner returns the integer ID for the user and group of the given path
    	GetOwner(pathname string) (int64, int64, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/version/version.go

    func scanFile(file string, info fs.FileInfo, mustPrint bool) {
    	if info.Mode()&fs.ModeSymlink != 0 {
    		// Accept file symlinks only.
    		i, err := os.Stat(file)
    		if err != nil || !i.Mode().IsRegular() {
    			if mustPrint {
    				fmt.Fprintf(os.Stderr, "%s: symlink\n", file)
    			}
    			return
    		}
    		info = i
    	}
    
    	bi, err := buildinfo.ReadFile(file)
    	if err != nil {
    		if mustPrint {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

     *   <li>It assumes that <a href="https://github.com/google/guava/issues/3349">any class with a
     *       {@code $} in its name is a nested class</a>.
     * </ul>
     *
     * <h2>{@code ClassPath} and symlinks</h2>
     *
     * <p>In the case of directory classloaders, symlinks are supported but cycles are not traversed.
     * This guarantees discovery of each unique loadable resource. However, not all possible
     * aliases for resources on cyclic paths will be listed.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_windows.go

    func (hu *HostUtil) PathExists(pathname string) (bool, error) {
    	return utilpath.Exists(utilpath.CheckFollowSymlink, pathname)
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks
    func (hu *HostUtil) EvalHostSymlinks(pathname string) (string, error) {
    	return filepath.EvalSymlinks(pathname)
    }
    
    // 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: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

            this.collector = collector;
        }
    
        /**
         * Snapshots a directory, reusing existing previously known snapshots.
         *
         * Follows symlinks and includes them in the returned snapshot.
         * Snapshots of followed symlinks are marked with {@link AccessType#VIA_SYMLINK}.
         *
         * @param absolutePath The absolute path of the directory to snapshot.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

            expect:
            !compatible
            unsatisfiedReason.contains "JVM is incompatible"
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "contexts with symlinked javaHome are compatible"() {
            def linkToJdk = tmp.testDirectory.file("link")
            linkToJdk.createLink(javaHome)
    
            assert javaHome != linkToJdk
            assert linkToJdk.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top