Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
JSON
at sl/gitmirror
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899{ "lexicon": 1, "id": "sh.tangled.git.defs", "defs": { "signature": { "type": "object", "required": ["name", "email", "when"], "properties": { "name": { "type": "string", "description": "Person name" }, "email": { "type": "string", "description": "Person email" }, "when": { "type": "string", "format": "datetime", "description": "Timestamp of the signature" } } }, "fileDiff": { "type": "object", "required": ["lhsSrc", "rhsSrc", "hunks", "hasSyntacticChanges"], "properties": { "lhsSrc": { "type": "ref", "ref": "#diffSrc" }, "rhsSrc": { "type": "ref", "ref": "#diffSrc" }, "hunks": { "type": "array", "items": { "type": "ref", "ref": "#diffHunk" } }, "hasByteChanges": { "type": "ref", "ref": "#byteChanges", "description": "Byte count per side, present only when the two sides differ" }, "hasSyntacticChanges": { "type": "boolean" } } }, "diffSrc": { "type": "object", "description": "One side of a file diff.", "required": ["path", "oid", "size", "isBinary", "isSubmodule"], "properties": { "path": { "type": "string" }, "oid": { "type": "string", "description": "Blob oid, or the commit oid for a submodule" }, "size": { "type": "integer", "minimum": 0 }, "isBinary": { "type": "boolean" }, "isSubmodule": { "type": "boolean" }, "content": { "type": "string", "description": "Inlined content. Used on interdiff's LHS." } } }, "diffHunk": { "type": "object", "required": ["novelLhs", "novelRhs", "lines"], "properties": { "novelLhs": { "type": "array", "description": "0-based line numbers holding novel content on the left side", "items": { "type": "integer", "minimum": 0 } }, "novelRhs": { "type": "array", "description": "0-based line numbers holding novel content on the right side", "items": { "type": "integer", "minimum": 0 } }, "lines": { "type": "array", "items": { "type": "ref", "ref": "#linePair" } } } }, "linePair": { "type": "object", "description": "One aligned line pair; a side is absent when that side has no line.", "properties": { "lhs": { "type": "integer", "minimum": 0 }, "rhs": { "type": "integer", "minimum": 0 } } }, "byteChanges": { "type": "object", "required": ["lhs", "rhs"], "properties": { "lhs": { "type": "integer", "minimum": 0 }, "rhs": { "type": "integer", "minimum": 0 } } }, "diffStat": { "type": "object", "required": ["insertions", "deletions", "filesChanged"], "properties": { "insertions": { "type": "integer", "minimum": 0 }, "deletions": { "type": "integer", "minimum": 0 }, "filesChanged": { "type": "integer", "minimum": 0 } } } }}