enhance(api): expose file mode in contents API response (#38713)

This commit is contained in:
Mitrahsoft
2026-08-03 12:11:27 +05:30
committed by GitHub
parent 89dd456af8
commit 09f7c71e3d
9 changed files with 20 additions and 0 deletions
+5
View File
@@ -3594,6 +3594,11 @@
"type": "integer",
"x-go-name": "LfsSize"
},
"mode": {
"description": "`mode` is the Git file mode as an octal string, e.g. `100644` (regular), `100755` (executable), `120000` (symlink), `160000` (submodule)",
"type": "string",
"x-go-name": "Mode"
},
"name": {
"description": "Name is the file or directory name",
"type": "string",