git @ Cat's Eye Technologies linapple / 6054fb3
This function is unused. Chris Pressey 6 years ago
2 changed file(s) with 0 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
1919 Config();
2020 ~Config() {};
2121
22 void ChangeToHomeDirectory();
2322 void ChangeToUserDirectory();
2423 bool ValidateUserDirectory();
2524 bool CopyFile(std::string source, std::string dest);
2222 {
2323 m_optsFilePath = GetHomePath() + USER_DIRECTORY_NAME;
2424 return m_optsFilePath.c_str();
25 }
26
27 void Config::ChangeToHomeDirectory()
28 {
29 if(chdir(GetHomePath().c_str()))
30 {
31 // TODO: LOG ERROR
32 cout << "Cannot switch to home directory ('" << GetHomePath().c_str() << "')" << std::endl;
33 }
3425 }
3526
3627 void Config::ChangeToUserDirectory()