Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for symlinks (0.08 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
          Path symlink = fs.getPath("/symlinktodir");
          Path dir = fs.getPath("dir");
    
          assertEquals(6, MoreFiles.listFiles(symlink).size());
    
          MoreFiles.deleteDirectoryContents(symlink);
    
          assertTrue(Files.exists(symlink, NOFOLLOW_LINKS));
          assertTrue(Files.exists(symlink));
          assertTrue(Files.exists(dir));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
          Path symlink = fs.getPath("/symlinktodir");
          Path dir = fs.getPath("dir");
    
          assertEquals(6, MoreFiles.listFiles(symlink).size());
    
          MoreFiles.deleteDirectoryContents(symlink);
    
          assertTrue(Files.exists(symlink, NOFOLLOW_LINKS));
          assertTrue(Files.exists(symlink));
          assertTrue(Files.exists(dir));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. .teamcity/mvnw

      if [ -r /etc/gentoo-release ] ; then
        JAVA_HOME=`java-config --jre-home`
      fi
    fi
    
    if [ -z "$M2_HOME" ] ; then
      ## resolve links - $0 may be a link to maven's home
      PRG="$0"
    
      # need this for relative symlinks
      while [ -h "$PRG" ] ; do
        ls=`ls -ld "$PRG"`
        link=`expr "$ls" : '.*-> \(.*\)$'`
        if expr "$link" : '/.*' > /dev/null; then
          PRG="$link"
        else
          PRG="`dirname "$PRG"`/$link"
        fi
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  5. doc/godebug.md

    set, and reparse points that are not symlinks, Unix sockets, or dedup files now
    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    mount points, which was a source of many inconsistencies and bugs.
    At previous versions (`winsymlink=0`), mount points are treated as symlinks,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
            // overload taking OpenOptions, meaning we can't guarantee the same behavior w.r.t. things
            // like following/not following symlinks.)
            return new AsCharSource(charset) {
              @SuppressWarnings({
                "FilesLinesLeak", // the user needs to close it in this case
                /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
            // overload taking OpenOptions, meaning we can't guarantee the same behavior w.r.t. things
            // like following/not following symlinks.)
            return new AsCharSource(charset) {
              @SuppressWarnings("FilesLinesLeak") // the user needs to close it in this case
              @Override
              public Stream<String> lines() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. cmd/common-main.go

    			err = fmt.Errorf("Unable to load TLS certificate '%s,%s': %w", certFile, keyFile, err)
    			bootLogIf(GlobalContext, err, logger.ErrorKind)
    		}
    	}
    	secureConn = true
    
    	// Certs might be symlinks, reload them every 10 seconds.
    	manager.UpdateReloadDuration(10 * time.Second)
    
    	// syscall.SIGHUP to reload the certs.
    	manager.ReloadOnSignal(syscall.SIGHUP)
    
    	return x509Certs, manager, secureConn, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    		if err != nil {
    			return err
    		}
    		if name == "." {
    			return nil
    		}
    		info, err := d.Info()
    		if err != nil {
    			return err
    		}
    		// TODO(#49580): Handle symlinks when fs.ReadLinkFS is available.
    		if !d.IsDir() && !info.Mode().IsRegular() {
    			return errors.New("tar: cannot add non-regular file")
    		}
    		h, err := FileInfoHeader(info, "")
    		if err != nil {
    			return err
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/archive/tar/testdata/hdr-only.tar

    fifo file The quick brown fox jumped over the lazy dog! hardlink null sda symlink badlink fifo The quick brown fox jumped over the lazy dog! hardlink sda symli badlink...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Dec 01 20:16:26 UTC 2015
    - 10K bytes
    - Viewed (0)
Back to top