diff options
Diffstat (limited to 'proto/blob.proto')
-rw-r--r-- | proto/blob.proto | 68 |
1 files changed, 2 insertions, 66 deletions
diff --git a/proto/blob.proto b/proto/blob.proto index 65cbfe6b3..2f1b03241 100644 --- a/proto/blob.proto +++ b/proto/blob.proto @@ -25,36 +25,12 @@ service BlobService { // GetLFSPointers retrieves LFS pointers from a given set of object IDs. // This RPC filters all requested objects and only returns those which refer // to a valid LFS pointer. - // - // Deprecated in favor of `ListLFSPointers`, passing object IDs as revisions. rpc GetLFSPointers(GetLFSPointersRequest) returns (stream GetLFSPointersResponse) { option (op_type) = { op: ACCESSOR }; } - // GetNewLFSPointers retrieves LFS pointers for a limited subset of the - // commit graph. It will return all LFS pointers which are reachable by the - // provided revision, but not reachable by any of the limiting references. - // - // Deprecated in favor of `ListLFSPointers`. `NotInAll` can be replaced with - // `REVISION` `--not` `--all`, while `NotInRefs` can be replaced with - // `REVISION` `--not` `NotInRevs...`. - rpc GetNewLFSPointers(GetNewLFSPointersRequest) returns (stream GetNewLFSPointersResponse) { - option (op_type) = { - op: ACCESSOR - }; - } - - // GetAllLFSPointers retrieves all LFS pointers of the given repository. - // - // Deprecated in favor of `ListLFSPointers`, passing `--all` as revision. - rpc GetAllLFSPointers(GetAllLFSPointersRequest) returns (stream GetAllLFSPointersResponse) { - option (op_type) = { - op: ACCESSOR - }; - } - // ListLFSPointers retrieves LFS pointers reachable from a given set of // revisions by doing a graph walk. This includes both normal revisions like // an object ID or branch, but also the pseudo-revisions "--all" and "--not" @@ -67,9 +43,8 @@ service BlobService { }; } - // ListAllLFSPointers retrieves all LFS pointers in the repository. In - // contrast to `GetAllLFSPointers`, this RPC also includes LFS pointers which - // are not reachable by any reference. + // ListAllLFSPointers retrieves all LFS pointers in the repository, including + // those not reachable by any reference. rpc ListAllLFSPointers(ListAllLFSPointersRequest) returns (stream ListAllLFSPointersResponse) { option (op_type) = { op: ACCESSOR @@ -158,45 +133,6 @@ message GetLFSPointersResponse { repeated LFSPointer lfs_pointers = 1; } -// GetNewLFSPointersRequest is a request for the GetNewLFSPointers RPC. -message GetNewLFSPointersRequest { - // Repository is the repository for which LFS pointers should be retrieved - // from. - Repository repository = 1[(target_repository)=true]; - // Revision is the revision for which to retrieve new LFS pointers. - bytes revision = 2; - // Limit limits the number of LFS pointers returned. - int32 limit = 3; - // NotInAll limits the revision graph to not include any commits which are - // referenced by a git reference. When `not_in_all` is true, `not_in_refs` is - // ignored. - bool not_in_all = 4; - // NotInRefs is a list of references used to limit the revision graph. Any - // commit reachable by any commit in NotInRefs will not be searched for new - // LFS pointers. This is ignored if NotInAll is set to `true`. - repeated bytes not_in_refs = 5; -} - -// GetNewLFSPointersResponse is a response for the GetNewLFSPointers RPC. -message GetNewLFSPointersResponse { - // LfsPointers is the list of LFS pointers which were requested. - repeated LFSPointer lfs_pointers = 1; -} - -// GetAllLFSPointersRequest is a request for the GetAllLFSPointers RPC. -message GetAllLFSPointersRequest { - // Repository is the repository for which LFS pointers shoul be retrieved - // from. - Repository repository = 1[(target_repository)=true]; - reserved 2; -} - -// GetAllLFSPointersResponse is a response for the GetAllLFSPointers RPC. -message GetAllLFSPointersResponse { - // LfsPointers is the list of LFS pointers. - repeated LFSPointer lfs_pointers = 1; -} - // ListLFSPointersRequest is a request for the ListLFSPointers RPC. message ListLFSPointersRequest { // Repository is the repository for which LFS pointers should be retrieved |