Storage: tree timestamps (#1971)
* Storage: tree timestamps * Rpc: add storage timestamp * Storage: correct timestamp owner * Storage: update timestamp at sd mount Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
@@ -42,6 +42,11 @@ typedef struct {
|
||||
uint16_t name_length;
|
||||
} SADataDRead;
|
||||
|
||||
typedef struct {
|
||||
const char* path;
|
||||
uint32_t* timestamp;
|
||||
} SADataCTimestamp;
|
||||
|
||||
typedef struct {
|
||||
const char* path;
|
||||
FileInfo* fileinfo;
|
||||
@@ -78,6 +83,7 @@ typedef union {
|
||||
SADataDOpen dopen;
|
||||
SADataDRead dread;
|
||||
|
||||
SADataCTimestamp ctimestamp;
|
||||
SADataCStat cstat;
|
||||
SADataCFSInfo cfsinfo;
|
||||
|
||||
@@ -112,6 +118,7 @@ typedef enum {
|
||||
StorageCommandDirClose,
|
||||
StorageCommandDirRead,
|
||||
StorageCommandDirRewind,
|
||||
StorageCommandCommonTimestamp,
|
||||
StorageCommandCommonStat,
|
||||
StorageCommandCommonRemove,
|
||||
StorageCommandCommonMkDir,
|
||||
|
Reference in New Issue
Block a user