mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-30 07:49:31 -05:00
Apply coding styles
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user