Crate ruplacer

Crate ruplacer 

Source

Structs§

Console
Used to print messages to the console according to a Verbosity level
DirectoryPatcher
Used to run replacement query on every text file present in a given path
FilePatcher
Run replacement query on a given file
Replacement
A replacement contains of fragments, the input string and the output string
Settings
Settings applied for a DirectoryPatcher run
Stats
Statistics about a run of DirectoryPatcher

Enums§

Query
A replacement Query
Verbosity
Control how much information ruplacer prints to standard output

Functions§

replace
Execute a query on a line of input. If there was a match, return a Replacement
run
Main entry point