Module utils

Module utils 

Source

Re-exports§

pub use encoding::detect_encoding;
pub use encoding::is_likely_text;
pub use encoding::is_utf8;
pub use encoding::read_file_with_encoding;
pub use hash::hash_bytes;
pub use hash::hash_file;
pub use hash::hash_string;
pub use mime::categorize_file;
pub use mime::detect_mime_type;
pub use mime::FileCategory;
pub use path::ensure_parent_exists;
pub use path::get_extension;
pub use path::get_file_name;
pub use path::get_file_stem;
pub use path::get_path_depth;
pub use path::get_relative_path;
pub use path::is_hidden;
pub use path::is_same_file;
pub use path::join_paths;
pub use path::normalize_path;

Modules§

encoding
hash
mime
path