Skip to content

Commit c2b9223

Browse files
authored
Add SHA256 to FileData (#837)
1 parent 25ea233 commit c2b9223

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: NGitLab/Models/FileData.cs

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public class FileData
2121
[JsonPropertyName("content")]
2222
public string Content { get; set; }
2323

24+
[JsonPropertyName("content_sha256")]
25+
public string ContentSha256 { get; set; }
26+
2427
[JsonPropertyName("ref")]
2528
public string Ref { get; set; }
2629

Diff for: NGitLab/PublicAPI.Unshipped.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,8 @@ NGitLab.Models.FileData.CommitId.get -> string
19121912
NGitLab.Models.FileData.CommitId.set -> void
19131913
NGitLab.Models.FileData.Content.get -> string
19141914
NGitLab.Models.FileData.Content.set -> void
1915+
NGitLab.Models.FileData.ContentSha256.get -> string
1916+
NGitLab.Models.FileData.ContentSha256.set -> void
19151917
NGitLab.Models.FileData.DecodedContent.get -> string
19161918
NGitLab.Models.FileData.Encoding.get -> string
19171919
NGitLab.Models.FileData.Encoding.set -> void

0 commit comments

Comments
 (0)