/// Errors set by a process when the file causes a build failure.
typedefstd::vector<CFileError>CFileErrors;
structCFileStatus
{
public:
// uint32 LastRemoved; // The last time this file was removed, purely informational (at the moment) because we can detect past removal and re-addition by comparing FirstSeen with our reference build time as well.
uint32FirstSeen;// The time when this status file was first created (if the file was removed before this means the time when the file returned).
uint32LastChangedReference;// The modification date value read when the CRC32 was calculated.
uint32LastFileSizeReference;// The filesize when the CRC32 was calculated.
uint32LastUpdate;// The start time when the CRC32 was calculated.
// Errors are errors caused by using this file as an input or output file.
enumTFileState
{
Unknown=0,
Success=1,
Warning=2,
Error=3,
Removal=4,
};
/// Suffix for metafiles that contain the CRC32 etc
#define PIPELINE_DATABASE_STATUS_SUFFIX ".status"
structCFileStatus
{
public:
// uint32 LastRemoved; // The last time this file was removed, purely informational (at the moment) because we can detect past removal and re-addition by comparing FirstSeen with our reference build time as well.
uint32FirstSeen;// The time when this status file was first created (if the file was removed before this means the time when the file returned).
uint32LastChangedReference;// The modification date value read when the CRC32 was calculated.
uint32LastFileSizeReference;// The filesize when the CRC32 was calculated.
uint32LastUpdate;// The start time when the CRC32 was calculated.