Plasma Engine  2.0
Loading...
Searching...
No Matches
plFileStatus Struct Reference

Information about a single file on disk. The file might be a document or any other file found in the data directories. More...

#include <Declarations.h>

Public Types

enum class  Status : plUInt8 { Unknown , FileLocked , Valid }
 

Public Attributes

plTimestamp m_LastModified
 
plUInt64 m_uiHash = 0
 
plUuid m_DocumentID
 If the file is linked to a document, the GUID is valid, otherwise not.
 
Status m_Status = Status::Unknown
 

Detailed Description

Information about a single file on disk. The file might be a document or any other file found in the data directories.

Member Enumeration Documentation

◆ Status

enum class plFileStatus::Status : plUInt8
strong
Enumerator
Unknown 

Since the file has been tagged as 'Unknown' it has not been encountered again on disk (yet). Use internally to find stale entries in the model.

FileLocked 

The file is locked, i.e. reading is currently not possible. Try again at a later date.

Valid 

The file exists on disk.


The documentation for this struct was generated from the following file: