[#249] session: Support patch verb

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-08-05 23:09:20 +03:00
parent 329f8cf51b
commit 869d59f6bf
2 changed files with 2 additions and 0 deletions

View file

@ -237,6 +237,7 @@ const (
VerbObjectDelete // Delete rpc VerbObjectDelete // Delete rpc
VerbObjectRange // GetRange rpc VerbObjectRange // GetRange rpc
VerbObjectRangeHash // GetRangeHash rpc VerbObjectRangeHash // GetRangeHash rpc
VerbObjectPatch // Patch rpc
) )
// ForVerb specifies the object operation of the session scope. Each // ForVerb specifies the object operation of the session scope. Each

View file

@ -599,6 +599,7 @@ func TestObject_ForVerb(t *testing.T) {
session.VerbObjectRangeHash: v2session.ObjectVerbRangeHash, session.VerbObjectRangeHash: v2session.ObjectVerbRangeHash,
session.VerbObjectRange: v2session.ObjectVerbRange, session.VerbObjectRange: v2session.ObjectVerbRange,
session.VerbObjectDelete: v2session.ObjectVerbDelete, session.VerbObjectDelete: v2session.ObjectVerbDelete,
session.VerbObjectPatch: v2session.ObjectVerbPatch,
} { } {
val.ForVerb(from) val.ForVerb(from)