MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetSourceLocation

Method GetSourceLocation

lib/base/configobject.cpp:695–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695Dictionary::Ptr ConfigObject::GetSourceLocation() const
696{
697 DebugInfo di = GetDebugInfo();
698
699 return new Dictionary({
700 { "path", di.Path },
701 { "first_line", di.FirstLine },
702 { "first_column", di.FirstColumn },
703 { "last_line", di.LastLine },
704 { "last_column", di.LastColumn }
705 });
706}
707
708NameComposer::~NameComposer()
709{ }

Callers 1

HandleRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected