docs: Update 7 files
This commit is contained in:
@@ -202,6 +202,20 @@ namespace dropshell
|
||||
return it != mUsers.end();
|
||||
}
|
||||
|
||||
bool ServerConfig::createServerInfoEnv(std::string filepath) const
|
||||
{
|
||||
std::ofstream ofs(filepath);
|
||||
if (!ofs.is_open())
|
||||
{
|
||||
error << "Couldn't write to " << filepath << std::endl;
|
||||
return false;
|
||||
}
|
||||
ofs << "# Autogenerated file by dropshell on installation." << std::endl;
|
||||
ofs << "SERVER=\"" << mServerName << "\"" << std::endl;
|
||||
ofs.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ServerConfig::check_remote_dir_exists(const std::string &dir_path, std::string user) const
|
||||
{
|
||||
if (user.empty())
|
||||
|
||||
Reference in New Issue
Block a user