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

This commit is contained in:
Mitrahsoft
2026-08-03 06:41:27 +00:00
committed by GitHub
parent 89dd456af8
commit 09f7c71e3d
9 changed files with 20 additions and 0 deletions
@@ -62,6 +62,7 @@ func getExpectedFileResponseForUpdate(info apiFileResponseInfo) *api.FileRespons
LastCommitterDate: new(info.lastCommitterWhen),
LastAuthorDate: new(info.lastAuthorWhen),
Type: "file",
Mode: "100644",
Size: 20,
Encoding: &encoding,
Content: &content,