[#1] Add Object Head/Put/Delete operations
Signed-off-by: Ivan Pchelintsev <i.pchelintsev@yadro.com>
This commit is contained in:
parent
ee1bf29304
commit
013d8a8436
13 changed files with 192 additions and 12 deletions
|
@ -13,7 +13,7 @@ public class ObjectId
|
|||
|
||||
public static ObjectId FromHash(byte[] hash)
|
||||
{
|
||||
if (hash.Length != Helper.Sha256HashLength)
|
||||
if (hash.Length != Constants.Sha256HashLength)
|
||||
{
|
||||
throw new FormatException("ObjectID must be a sha256 hash.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue