mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-09 01:10:24 +00:00
enhance(api): expose file mode in contents API response (#38713)
This commit is contained in:
+5
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user