forked from TrueCloudLab/frostfs-api-go
[#172] Improve the readability of named attribute constants
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
5494d3417f
commit
ad0b01e892
4 changed files with 20 additions and 20 deletions
|
@ -1,12 +1,12 @@
|
|||
package object
|
||||
|
||||
// SysAttrPrefix is a prefix of key to system attribute.
|
||||
const SysAttrPrefix = "__NEOFS__"
|
||||
// SysAttributePrefix is a prefix of key to system attribute.
|
||||
const SysAttributePrefix = "__NEOFS__"
|
||||
|
||||
const (
|
||||
// SysAttrUploadID marks smaller parts of a split bigger object.
|
||||
SysAttrUploadID = SysAttrPrefix + "UPLOAD_ID"
|
||||
// SysAttributeUploadID marks smaller parts of a split bigger object.
|
||||
SysAttributeUploadID = SysAttributePrefix + "UPLOAD_ID"
|
||||
|
||||
// SysAttrExpEpoch tells GC to delete object after that epoch.
|
||||
SysAttrExpEpoch = SysAttrPrefix + "EXPIRATION_EPOCH"
|
||||
// SysAttributeExpEpoch tells GC to delete object after that epoch.
|
||||
SysAttributeExpEpoch = SysAttributePrefix + "EXPIRATION_EPOCH"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue