Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

lexicons/git: include blob size on `git.getEntry`

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
committer
Tangled
date (Jun 19, 2026, 1:24 PM +0300) commit 09bd1662 parent a0e62ce3 change-id opukuyno
+9 -2
+2 -1
api/tangled/knotversion.go
··· 16 16 17 17 // KnotVersion_Output is the output of a sh.tangled.knot.version call. 18 18 type KnotVersion_Output struct { 19 + // capabilities: Protocol capability tokens this knot implements, such as knot-acl. Knots that omit this field are treated as legacy. 20 + Capabilities []string `json:"capabilities,omitempty" cborgen:"capabilities,omitempty"` 19 21 Version string `json:"version" cborgen:"version"` 20 - Capabilities []string `json:"capabilities,omitempty" cborgen:"capabilities,omitempty"` 21 22 } 22 23 23 24 // KnotVersion calls the XRPC method "sh.tangled.knot.version".
+2
api/tangled/tempgetEntry.go
··· 21 21 // name: The file name 22 22 Name string `json:"name" cborgen:"name"` 23 23 Oid string `json:"oid" cborgen:"oid"` 24 + // size: Blob size 25 + Size int64 `json:"size" cborgen:"size"` 24 26 // submodule: Submodule information if path is a submodule 25 27 Submodule *GitTempDefs_Submodule `json:"submodule,omitempty" cborgen:"submodule,omitempty"` 26 28 }
+5 -1
lexicons/git/temp/getEntry.json
··· 29 29 "encoding": "application/json", 30 30 "schema": { 31 31 "type": "object", 32 - "required": ["name", "mode", "oid"], 32 + "required": ["name", "mode", "oid", "size"], 33 33 "properties": { 34 34 "name": { 35 35 "type": "string", ··· 41 41 }, 42 42 "oid": { 43 43 "type": "string" 44 + }, 45 + "size": { 46 + "type": "integer", 47 + "description": "Blob size" 44 48 }, 45 49 "lastCommit": { 46 50 "type": "ref",