class

FFF::FileOperations

Inherits Reference < Object

FileOperations - High-level file operations with UI feedback

Constructors

new(config : Config, term : Terminal)
Source

Instance methods

bulk_rename(sources : Array(String), editor : String) : String | Nil
Source
delete_files(sources : Array(String), trash_dir : String) : String | Nil
Source
delete_files_with_progress(sources : Array(String), trash_dir : String, &on_progress : Int32, String -> ) : String | Nil

Progress-aware version: yields (index, filename) per item

Source
new_directory(dir : String, name : String) : String | Nil
Source
new_file(dir : String, name : String) : String | Nil
Source
paste_files(sources : Array(String), dest_dir : String, mode : Symbol) : String | Nil
Source
paste_files_with_progress(sources : Array(String), dest_dir : String, mode : Symbol, &on_progress : Int32, String -> ) : String | Nil

Progress-aware version: yields (index, filename) per item

Source
show_attributes(path : String) : String | Nil
Source
toggle_executable(path : String) : String | Nil
Source