Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SecureDirectoryStream (0.15 sec)

  1. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.SecureDirectoryStream;
    
    /**
     * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link
     * MoreFiles#deleteDirectoryContents}).
     *
     * @since NEXT (but since 21.0 in the JRE flavor)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/RecursiveDeleteOption.java

    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.SecureDirectoryStream;
    
    /**
     * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link
     * MoreFiles#deleteDirectoryContents}).
     *
     * @since 21.0 (but only since 33.4.0 in the Android flavor)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

        Collection<IOException> exceptions = null; // created lazily if needed
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
          if (stream instanceof SecureDirectoryStream) {
            SecureDirectoryStream<Path> sds = (SecureDirectoryStream<Path>) stream;
            exceptions = deleteDirectoryContentsSecure(sds);
          } else {
            checkAllowsInsecure(path, options);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/MoreFiles.java

        Collection<IOException> exceptions = null; // created lazily if needed
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
          if (stream instanceof SecureDirectoryStream) {
            SecureDirectoryStream<Path> sds = (SecureDirectoryStream<Path>) stream;
            exceptions = deleteDirectoryContentsSecure(sds);
          } else {
            checkAllowsInsecure(path, options);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.FileSystemException;
    import java.nio.file.SecureDirectoryStream;
    import javax.annotation.CheckForNull;
    
    /**
     * Exception indicating that a recursive delete can't be performed because the file system does not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

       * deleteDirectoryContents follow the symlink to the other directory and delete that directory's
       * contents.
       *
       * <p>We can only test this with a file system that supports SecureDirectoryStream, because it's
       * not possible to protect against this if the file system doesn't.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

       * deleteDirectoryContents follow the symlink to the other directory and delete that directory's
       * contents.
       *
       * <p>We can only test this with a file system that supports SecureDirectoryStream, because it's
       * not possible to protect against this if the file system doesn't.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top