[#1] Move files to top level directory
Signed-off-by: Ivan Pchelintsev <i.pchelintsev@yadro.com>
This commit is contained in:
parent
013d8a8436
commit
11eff4e23e
76 changed files with 0 additions and 0 deletions
16
src/FrostFS.SDK.ClientV2/Mappers/GRPC/ContainerId.cs
Normal file
16
src/FrostFS.SDK.ClientV2/Mappers/GRPC/ContainerId.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using FrostFS.SDK.ModelsV2;
|
||||
using FrostFS.Refs;
|
||||
using Google.Protobuf;
|
||||
|
||||
namespace FrostFS.SDK.ClientV2.Mappers.GRPC;
|
||||
|
||||
public static class ContainerIdMapper
|
||||
{
|
||||
public static ContainerID ToGrpcMessage(this ContainerId containerId)
|
||||
{
|
||||
return new ContainerID
|
||||
{
|
||||
Value = ByteString.CopyFrom(containerId.ToHash())
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue