| 17 | } |
| 18 | |
| 19 | void ConfigCompilerContext::OpenObjectsFile(const String& filename) |
| 20 | { |
| 21 | try { |
| 22 | m_ObjectsFP = std::make_unique<AtomicFile>(filename, 0600); |
| 23 | } catch (const std::exception& ex) { |
| 24 | Log(LogCritical, "cli", "Could not create temporary objects file: " + DiagnosticInformation(ex, false)); |
| 25 | Application::Exit(1); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | void ConfigCompilerContext::WriteObject(const Dictionary::Ptr& object) |
| 30 | { |