Documentation
¶
Overview ¶
Package devoutput converts prepared XenForo development output into release XML.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Export ¶
Export reads prepared development output from addOnDir/_output and writes release XML to addOnDir/_data, creating the destination directory if needed. Missing or empty type directories produce empty XML containers.
Non-empty type directories require _metadata.jsonl. Only listed files are exported, and their contents must match the recorded hashes. Template and phrase versions are preserved. Unknown record fields are ignored and reported in result.Warnings. Unsupported data types and export-handler class extensions are rejected; PHP handlers are not executed.
File access is rooted at addOnDir, and _data must not be a symbolic link. Metadata-listed inputs must be regular files within their type directories.
Export converts all inputs before writing any files. Each XML file is replaced atomically, but an I/O error or cancellation may leave a partially written set.
Types ¶
This section is empty.