Apply coding styles

This commit is contained in:
Alexander Bock
2018-03-08 05:32:46 -05:00
parent c5c95a5640
commit 5a3ef0fda2
38 changed files with 141 additions and 121 deletions
@@ -167,9 +167,9 @@ bool TorrentSynchronization::hasSyncFile() {
void TorrentSynchronization::createSyncFile() {
std::string directoryName = directory();
std::string filepath = directoryName + ".ossync";
FileSys.createDirectory(directoryName, ghoul::filesystem::Directory::Recursive::Yes);
std::ofstream syncFile(filepath, std::ofstream::out);
syncFile << "Synchronized";
syncFile.close();