Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 153 for symlinks (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/assemblies/files/fess

    #    -X prop       set non-standard JAVA system property
    #   --prop=val
    #   --prop val     set fess property (i.e.  -Des.<prop>=<val>)
    
    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    while [ -h "$SCRIPT" ] ; do
      ls=`ls -ld "$SCRIPT"`
      # Drop everything prior to ->
      link=`expr "$ls" : '.*-> \(.*\)$'`
      if expr "$link" : '/.*' > /dev/null; then
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginUnixShellsIntegrationTest.groovy

        def setup() {
            createSampleProjectSetup()
        }
    
        def cleanup() {
            if (testDirectoryProvider.cleanup) {
                testDirectory.usingNativeTools().deleteDir() //remove symlinks
            }
        }
    
        @Requires([UnitTestPreconditions.UnixDerivative, PluginTestPreconditions.BashAvailable])
        def "can execute generated Unix start script in Bash"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            localCache.listCacheFailedFiles().size() == 1
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        @Issue("https://github.com/gradle/gradle/issues/9906")
        def "don't cache if task produces broken symlink"() {
            def link = file('root/link')
            buildFile << """
                import java.nio.file.*
                class ProducesLink extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. hack/lib/init.sh

    # testone $T/linkdir/dir
    # testone $T/linkdir/linkfile
    # testone $T/linkdir/linkdir
    function kube::readlinkdashf {
      # run in a subshell for simpler 'cd'
      (
        if [[ -d "${1}" ]]; then # This also catch symlinks to dirs.
          cd "${1}"
          pwd -P
        else
          cd "$(dirname "${1}")"
          local f
          f=$(basename "${1}")
          if [[ -L "${f}" ]]; then
            readlink "${f}"
          else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/os/dir.go

    		fpath, err := filepathlite.Localize(path)
    		if err != nil {
    			return err
    		}
    		newPath := joinPath(dir, fpath)
    		if d.IsDir() {
    			return MkdirAll(newPath, 0777)
    		}
    
    		// TODO(panjf2000): handle symlinks with the help of fs.ReadLinkFS
    		// 		once https://go.dev/issue/49580 is done.
    		//		we also need filepathlite.IsLocal from https://go.dev/cl/564295.
    		if !d.Type().IsRegular() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top