[diffoscope] Schema of diffoscope JSON output
Aman Sharma
amansha at kth.se
Mon Jan 13 17:19:17 UTC 2025
Hi,
I want to know if there is a schema for JSON output from diffoscope. I have understood that it always contains 'source1' and 'source2'. However, they can either mean the actual source files that are being diff-ed or the name of the tool that is run on the files before being diff-ed.
Example where source is a file path.
{
"source1": "/target/reference/dev.langchain4j/langchain4j-vearch-0.26.0.pom",
"source2": "/langchain4j-vearch/pom.xml",
"unified_diff": "[REMOVED FOR BREVITY]"
}
Example where source in a tool name.
{
"source1": "zipinfo {}",
"source2": "zipinfo {}",
"unified_diff": "[REMOVED FOR BREVITY]"
},
Regards,
Aman Sharma
PhD Student
KTH Royal Institute of Technology
School of Electrical Engineering and Computer Science (EECS)
Department of Theoretical Computer Science (TCS)
<http://www.kth.se><https://www.kth.se/profile/amansha><https://www.kth.se/profile/amansha>
<https://www.kth.se/profile/amansha>https://algomaster99.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/diffoscope/attachments/20250113/221d6997/attachment.htm>
More information about the diffoscope
mailing list