Skip to content

Commit

Permalink
Add docstring for _generateUserDescriptionFile
Browse files Browse the repository at this point in the history
  • Loading branch information
herve-er committed May 8, 2024
1 parent 6b02f2c commit 337e712
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/server/logarchiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ class LogArchiver {
*/
static ExitCode _compressLogFiles(const SyncPath &directoryToCompress, ExitCause &exitCause,
std::function<void(int)> progressCallback = nullptr);

/*! Generates a file containing the user description.
* The file will contain: Current OS, current architecture, current version, current user(s), current drive(s).
* \param outputPath The path where the file will be generated.
* \param exitCause The exit cause to be filled in case of error. If no error occurred, it will be set to ExitCauseUnknown;
* \return The exit code of the operation.
*/
static ExitCode _generateUserDescriptionFile(const SyncPath &outputPath, ExitCause &exitCause);
};

Expand Down

0 comments on commit 337e712

Please sign in to comment.