mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
* `nix-env -q --xml': show query result in XML format for easier
automated processing.
This commit is contained in:
parent
0e267e2625
commit
339e6f0e1d
3 changed files with 82 additions and 25 deletions
|
@ -45,7 +45,7 @@ void XMLWriter::closeElement()
|
|||
}
|
||||
|
||||
|
||||
void XMLWriter::writeShortElement(const string & name,
|
||||
void XMLWriter::writeEmptyElement(const string & name,
|
||||
const XMLAttrs & attrs)
|
||||
{
|
||||
assert(!closed);
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
const XMLAttrs & attrs = XMLAttrs());
|
||||
void closeElement();
|
||||
|
||||
void writeShortElement(const string & name,
|
||||
void writeEmptyElement(const string & name,
|
||||
const XMLAttrs & attrs = XMLAttrs());
|
||||
|
||||
void writeCharData(const string & data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue