Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for deleteFile (0.96 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    });
    
                    deleteFileMap.values().forEach(this::deleteFile);
                    count += deleteFileMap.size();
                }
            }
    
            /**
             * Deletes a single file and any empty parent directories.
             *
             * @param path the file path to delete
             */
            protected void deleteFile(final Path path) {
                try {
                    Files.delete(path);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  2. 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 == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. 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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (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);
        }
      }
    
      /**
    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)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            LOGGER.warn("");
            filesToDelete.forEach(file -> LOGGER.warn("\t{}", rootDir.relativize(file.toPath())));
    
            if (dryRun == false) {
                final Set<File> failedToDelete = deleteHelper.deleteFiles(filesToDelete);
    
                if (failedToDelete.isEmpty() == false) {
                    throw new GradleException(
                        "Failed to delete some files:\n\n"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbWatchHandleTest.java

            when(fileNotifyInfo3.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED);
            when(fileNotifyInfo3.getFileName()).thenReturn("deletedfile.txt");
    
            // Verify actions and filenames
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, fileNotifyInfo1.getAction());
            assertEquals("newfile.txt", fileNotifyInfo1.getFileName());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  8. src/main/resources/fess_message_pl.properties

    success.update_design_jsp_file = {0} zaktualizowano.
    success.create_crawling_config_at_wizard = Utworzono konfigurację indeksowania {0}.
    success.failure_url_delete_all = Adresy URL błędów usunięte.
    success.delete_file = Plik {0} usunięto.
    success.job_started = Zadanie {0} uruchomiono.
    success.job_stopped = Zadanie {0} zatrzymano.
    success.upload_synonym_file = Plik synonimów przesłano.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. src/main/resources/fess_message_pt_BR.properties

    success.update_design_jsp_file = {0} atualizado.
    success.create_crawling_config_at_wizard = Configuração de rastreamento {0} criada.
    success.failure_url_delete_all = URL de falha excluída.
    success.delete_file = Arquivo {0} excluído.
    success.job_started = Trabalho {0} iniciado.
    success.job_stopped = Trabalho {0} parado.
    success.upload_synonym_file = Arquivo de sinônimos carregado.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  10. api/go1.txt

    pkg syscall (windows-386), func CryptGenRandom(Handle, uint32, *uint8) error
    pkg syscall (windows-386), func CryptReleaseContext(Handle, uint32) error
    pkg syscall (windows-386), func DeleteFile(*uint16) error
    pkg syscall (windows-386), func DnsQuery(string, uint16, uint32, *uint8, **DNSRecord, *uint8) error
    pkg syscall (windows-386), func DnsRecordListFree(*DNSRecord, uint32)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top