Skip to content

Commit

Permalink
Add SHA256 to FileData (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiao9580 authored Jan 21, 2025
1 parent 25ea233 commit c2b9223
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NGitLab/Models/FileData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class FileData
[JsonPropertyName("content")]
public string Content { get; set; }

[JsonPropertyName("content_sha256")]
public string ContentSha256 { get; set; }

[JsonPropertyName("ref")]
public string Ref { get; set; }

Expand Down
2 changes: 2 additions & 0 deletions NGitLab/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,8 @@ NGitLab.Models.FileData.CommitId.get -> string
NGitLab.Models.FileData.CommitId.set -> void
NGitLab.Models.FileData.Content.get -> string
NGitLab.Models.FileData.Content.set -> void
NGitLab.Models.FileData.ContentSha256.get -> string
NGitLab.Models.FileData.ContentSha256.set -> void
NGitLab.Models.FileData.DecodedContent.get -> string
NGitLab.Models.FileData.Encoding.get -> string
NGitLab.Models.FileData.Encoding.set -> void
Expand Down

0 comments on commit c2b9223

Please sign in to comment.