Commit Graph

2 Commits (e6c29af0577dde473dca8629f7f440ac3c19ce73)

Author SHA1 Message Date
Daniel Kamil Kozar c483756b42
Split directory.cpp into unix/win32 parts (#491)
directory.cpp was essentially two implementations in one, separated with ifdefs. It's cleaner to just have two separate files, seeing how CMakeLists.txt for libmediation needs to check the platform it's running on and add the appropriate file implementation anyway.

This commit splits this file into two and extracts common code parts to directory_priv.h.
2021-11-12 18:16:15 +01:00
Daniel Kamil Kozar 451ec61a50
Introduce a uniform formatting style (#131)
The repository now contains a clang-format file which should be used when committing new code. Additionally, a new workflow job is added which checks the conformance of source files to the specified formatting rules.

Fixes #47.
2020-01-14 21:56:44 +01:00