Skip to content

Commit

Permalink
Calculate pauses in file operations.
Browse files Browse the repository at this point in the history
  * (file_op_context_t): new 'pauses' member.
  * (file_error): pass file operation context to calculate pause.
  * (real_warn_same_file): likewise.
  * (real_do_file_error): likewise.
  * (real_query_recursive): calculate pause.
  * (overwrite_query_dialog): likewise.
  * (calc_copy_file_progress): calculate use ctx->pauses to calculate ETA.
  * (warn_same_file):
  * (check_same_file):
  * (check_hardlinks):
  * (make_symlink):
  * (do_file_error):
  * (files_error):
  * (try_remove_file):
  * (move_file_file):
  * (try_erase_dir):
  * (do_move_dir_dir):
  * (copy_file_file):
  * (copy_dir_dir):
  * (panel_operate):
  * (tree_move): related changes.

Signed-off-by: Andrew Borodin <[email protected]>
  • Loading branch information
aborodin committed Nov 4, 2024
1 parent 5f12857 commit ba8099f
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 68 deletions.
Loading

0 comments on commit ba8099f

Please sign in to comment.