Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for deleteFile (0.05 sec)

  1. cmd/xl-storage.go

    	}
    
    	return &resp, nil
    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                            }
                        }
                    });
    
                    deleteFileMap.values().forEach(this::deleteFile);
                    count += deleteFileMap.size();
                }
            }
    
            protected void deleteFile(final Path path) {
                try {
                    Files.delete(path);
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    		if err.Err != nil {
    			return err.Err
    		}
    	}
    
    	return nil
    }
    
    // DeleteFile implements ftpDriver
    func (driver *ftpDriver) DeleteFile(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, object := path2BucketObject(objPath)
    	if bucket == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	err = st.Results(func(resp *ListDirResult) error {
    		entries = resp.Entries
    		return nil
    	})
    	return entries, toStorageErr(err)
    }
    
    // DeleteFile - deletes a file.
    func (client *storageRESTClient) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) error {
    	if !deleteOpts.Immediate {
    		// add deadlines for all non-immediate purges
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/MoreFiles.java

            // directory, so we shouldn't try to delete the directory as it will probably fail.
            if (exceptions == null) {
              dir.deleteDirectory(path);
            }
          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

            // directory, so we shouldn't try to delete the directory as it will probably fail.
            if (exceptions == null) {
              dir.deleteDirectory(path);
            }
          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String SUCCESS_failure_url_delete_all = "{success.failure_url_delete_all}";
    
        /** The key of the message: Deleted {0} file. */
        public static final String SUCCESS_delete_file = "{success.delete_file}";
    
        /** The key of the message: Started job {0}. */
        public static final String SUCCESS_job_started = "{success.job_started}";
    
        /** The key of the message: Stopped job {0}. */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top