|
WaSH Docs
|
Functions | |
| std::string | generateAppDirectoryName (const std::string &source_dir) |
| Creates a random 8-character directory name from the input source directory (loosely based on fs::hash) More... | |
| bool | cleanDirectory (const fs::path &directory_path) |
| Cleans a directory by removing all files within it. More... | |
| std::optional< std::vector< std::string > > | copyDirectoryFiles (const fs::path &source_dir, const fs::path &destination_dir) |
| Copies a directories files to another directory Is recursive in the filesystem and will rename any colliding files. More... | |
| std::vector< std::string > | assembleSourceWithBackend (WashOptions &opts) |
| Performs the necessary steps to prepare for the refactoring tool Creates temporary directory & copies all the necessary files there. More... | |
| std::vector< std::string > ws2st::files::assembleSourceWithBackend | ( | WashOptions & | opts | ) |
Performs the necessary steps to prepare for the refactoring tool Creates temporary directory & copies all the necessary files there.
| opts | Wash program options |
| bool ws2st::files::cleanDirectory | ( | const fs::path & | directory_path | ) |
Cleans a directory by removing all files within it.
| directory_path | Directory to clean |
| std::optional< std::vector< std::string > > ws2st::files::copyDirectoryFiles | ( | const fs::path & | source_dir, |
| const fs::path & | destination_dir | ||
| ) |
Copies a directories files to another directory Is recursive in the filesystem and will rename any colliding files.
| source_dir | Source to copy from |
| destination_dir | Destination to copy to |
| std::string ws2st::files::generateAppDirectoryName | ( | const std::string & | source_dir | ) |
Creates a random 8-character directory name from the input source directory (loosely based on fs::hash)
| souce_dir | Directory to base the random string on |
1.8.14