diff --git a/v2/object/attributes.go b/v2/object/attributes.go new file mode 100644 index 0000000..0da07b8 --- /dev/null +++ b/v2/object/attributes.go @@ -0,0 +1,12 @@ +package object + +// SysAttrPrefix is a prefix of key to system attribute. +const SysAttrPrefix = "__NEOFS__" + +const ( + // SysAttrUploadID marks smaller parts of a split bigger object. + SysAttrUploadID = SysAttrPrefix + "UPLOAD_ID" + + // SysAttrExpEpoch tells GC to delete object after that epoch. + SysAttrExpEpoch = SysAttrPrefix + "EXPIRATION_EPOCH" +)