FileIdentifier interface is a reference to a
File used as a value within a
StoreObject. It includes extra information to implement the user interface for ‘file version tracks’ provided by the Platform.
fileSize are used to unambiguously identify the
File to which it refers.
identifier() on a
File object, or
mutableCopy() on a
Returns a mutable copy of this
Interface (read only properties)
The digest of the file, as a hex encoded
The size of the file, in bytes, as a number.
Interface (mutable properties)
FileIdentifier is created using the
identifier() function of a
File object, or a mutable copy made with
mutableCopy(), the following properties are read/write.
The MIME type of the file. This does not have to match the
mimeType property of the underlying
The filename of the file. This does not have to match the
filename property of the underlying
A randomly generated
String for tracking versions within a ‘file version track’. Used for generating the version listings in the web user interface.
The version of this version within a ‘file version track’, as a
String containing the user’s description of the changes made in this version within a ‘file version track’.
Returns itself. Implemented so that you can call
identifier() on both