Expand description
Refactors names of files and directories in given destination.
Some features require you to set up an instance of the Config,
you can create one either with default values or from given arguments,
to do that check Structs - Config section.
USE BACKUP BEFORE USING ON IMPORTANT FILES
Structs§
- Config
- Holds control values needed for a script’s logic
Constants§
- HELP
- Loads and holds DOCUMENTATION.md from the crate’s directory
- ILLEGAL
- An array of ASCII chars, which should not be used in directory and file names
- VERSION
- Holds current version of the crate
Functions§
- change_
file_ name - Refactors the file/dir’s name in-place using
refactor_name. - copy_
change_ file_ name - Copies the given file/dir, the copy gets refactored name.
Refactors the file/dir’s name in-place using
refactor_name. - refactor_
name - Returns refactored copy of String
- remove_
diacritics - Takes &String and returns copied String where diacritics are replaced by their ASCII variants
- run
- Refactors file structure from given start.