WaSH Docs
Namespaces | Functions
sources.cpp File Reference
#include "sources.hpp"

Namespaces

 ws2st
 
 ws2st::files
 

Functions

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) More...
 
bool ws2st::files::cleanDirectory (const fs::path &directory_path)
 Cleans a directory by removing all files within it. More...
 
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. 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. More...