ruby/proto/gitaly/repository_services_pb.rb in gitaly-17.2.9 vs ruby/proto/gitaly/repository_services_pb.rb in gitaly-17.3.0.pre.rc42
- old
+ new
@@ -114,9 +114,13 @@
# GetSnapshot returns a snapshot of the repository. A snapshot comprises all Git references
# and objects required to recreate the state of a repository at a point in time.
rpc :GetSnapshot, ::Gitaly::GetSnapshotRequest, stream(::Gitaly::GetSnapshotResponse)
# CreateRepositoryFromSnapshot creates a new repository based on a snapshot created with
# the GetSnapshot RPC. The snapshot is fetched via HTTP.
+ #
+ # Due to the inherent structure of the TAR format, it's challenging to definitively verify
+ # if a provided TAR file is complete or truncated/malformed. While basic integrity checks
+ # are performed, users should ensure the completeness and integrity of their TAR files.
rpc :CreateRepositoryFromSnapshot, ::Gitaly::CreateRepositoryFromSnapshotRequest, ::Gitaly::CreateRepositoryFromSnapshotResponse
# GetRawChanges returns metadata in raw format on the changes between two revisions.
rpc :GetRawChanges, ::Gitaly::GetRawChangesRequest, stream(::Gitaly::GetRawChangesResponse)
# SearchFilesByContent searches files in the repository using the provided grep pattern.
# For each result, the matched line is returned along with the two previous and next lines.