Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 385 for symlink2 (0.13 sec)

  1. src/os/types_windows.go

    	// that refer to directories, such as symlinks and mount points.
    	// However, we follow symlink POSIX semantics and do not set the mode bits.
    	// This allows users to walk directories without following links
    	// by just calling "fi, err := os.Lstat(name); err == nil && fi.IsDir()".
    	// Note that POSIX only defines the semantics for symlinks, not for
    	// mount points or other surrogate reparse points, but we treat them
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/crypto/x509/root_unix.go

    			}
    		}
    	}
    
    	if roots.len() > 0 || firstErr == nil {
    		return roots, nil
    	}
    
    	return nil, firstErr
    }
    
    // readUniqueDirectoryEntries is like os.ReadDir but omits
    // symlinks that point within the directory.
    func readUniqueDirectoryEntries(dir string) ([]fs.DirEntry, error) {
    	files, err := os.ReadDir(dir)
    	if err != nil {
    		return nil, err
    	}
    	uniq := files[:0]
    	for _, f := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. src/path/filepath/path_test.go

    	// Create "link" in the current working directory as a symlink to an arbitrary
    	// absolute path. On macOS, this path is likely to begin with a symlink
    	// itself: generally either in /var (symlinked to "private/var") or /tmp
    	// (symlinked to "private/tmp").
    	if err := os.Symlink(tmpDir, "link"); err != nil {
    		t.Fatal(err)
    	}
    	t.Logf(`os.Symlink(%q, "link")`, tmpDir)
    
    	p, err := filepath.EvalSymlinks("link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K 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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/file_system_watching.adoc

    * ext3
    * ext4
    * XFS
    * HFS+
    * NTFS
    
    Gradle also supports VirtualBox's shared folders.
    
    Network file systems like Samba and NFS are not supported.
    
    .Symlinks
    --
    File system watching is not compatible with symlinks.
    If your project files include symlinks, symlinked files do not benefit from file system-watching optimizations.
    --
    
    == Unsupported File Systems
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 16:37:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top