mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-08 04:25:31 +00:00
16 lines
563 B
Rust
16 lines
563 B
Rust
//! Random and miscellaneous utils used in ouch.
|
|
//!
|
|
//! In here we have the logic for custom formatting, some file and directory utils, and user
|
|
//! stdin interaction helpers.
|
|
|
|
pub mod colors;
|
|
mod formatting;
|
|
mod fs;
|
|
mod question;
|
|
|
|
pub use formatting::{concatenate_os_str_list, nice_directory_display, strip_cur_dir, to_utf, Bytes};
|
|
pub use fs::{cd_into_same_dir_as, create_dir_if_non_existent, dir_is_empty, try_infer_extension};
|
|
pub use question::{
|
|
create_or_ask_overwrite, user_wants_to_continue_decompressing, user_wants_to_overwrite, QuestionPolicy,
|
|
};
|