git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/object/wellknown_attributes.go (about)

     1  package object
     2  
     3  const (
     4  	// AttributeName is an attribute key that is commonly used to denote
     5  	// human-friendly name.
     6  	AttributeName = "Name"
     7  
     8  	// AttributeFileName is an attribute key that is commonly used to denote
     9  	// file name to be associated with the object on saving.
    10  	AttributeFileName = "FileName"
    11  
    12  	// AttributeFilePath is an attribute key that is commonly used to denote
    13  	// full path to be associated with the object on saving. Should start with a
    14  	// '/' and use '/' as a delimiting symbol. Trailing '/' should be
    15  	// interpreted as a virtual directory marker. If an object has conflicting
    16  	// FilePath and FileName, FilePath should have higher priority, because it
    17  	// is used to construct the directory tree. FilePath with trailing '/' and
    18  	// non-empty FileName attribute should not be used together.
    19  	AttributeFilePath = "FilePath"
    20  
    21  	// AttributeTimestamp is an attribute key that is commonly used to denote
    22  	// user-defined local time of object creation in Unix Timestamp format.
    23  	AttributeTimestamp = "Timestamp"
    24  
    25  	// AttributeContentType is an attribute key that is commonly used to denote
    26  	// MIME Content Type of object's payload.
    27  	AttributeContentType = "Content-Type"
    28  )