Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for isSymbolicLink (0.07 seconds)

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

          MoreFiles.deleteRecursively(file);
    
          assertFalse(Files.exists(file, NOFOLLOW_LINKS));
    
          Path symlink = fs.getPath("/symlinktodir");
          assertTrue(Files.isSymbolicLink(symlink));
    
          Path realSymlinkTarget = symlink.toRealPath();
          assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS));
    
          MoreFiles.deleteRecursively(symlink);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/MoreFiles.java

          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory() || attrs.isSymbolicLink()) {
            return Optional.absent();
          }
    
          return Optional.of(attrs.size());
        }
    
        @Override
        public long size() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          MoreFiles.deleteRecursively(file);
    
          assertFalse(Files.exists(file, NOFOLLOW_LINKS));
    
          Path symlink = fs.getPath("/symlinktodir");
          assertTrue(Files.isSymbolicLink(symlink));
    
          Path realSymlinkTarget = symlink.toRealPath();
          assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS));
    
          MoreFiles.deleteRecursively(symlink);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top