mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 22:13:26 +09:00
enhance(api): expose file mode in contents API response (#38713)
This commit is contained in:
@@ -79,6 +79,7 @@ func getExpectedFileResponseForCreate(info apiFileResponseInfo) *api.FileRespons
|
||||
LastAuthorDate: new(info.lastAuthorWhen),
|
||||
Size: 16,
|
||||
Type: "file",
|
||||
Mode: "100644",
|
||||
Encoding: &encoding,
|
||||
Content: &content,
|
||||
URL: &selfURL,
|
||||
|
||||
Reference in New Issue
Block a user