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:
@@ -354,6 +354,16 @@ bool storage_dir_rewind(File* file) {
|
||||
|
||||
/****************** COMMON ******************/
|
||||
|
||||
FS_Error storage_common_timestamp(Storage* storage, const char* path, uint32_t* timestamp) {
|
||||
S_API_PROLOGUE;
|
||||
|
||||
SAData data = {.ctimestamp = {.path = path, .timestamp = timestamp}};
|
||||
|
||||
S_API_MESSAGE(StorageCommandCommonTimestamp);
|
||||
S_API_EPILOGUE;
|
||||
return S_RETURN_ERROR;
|
||||
}
|
||||
|
||||
FS_Error storage_common_stat(Storage* storage, const char* path, FileInfo* fileinfo) {
|
||||
S_API_PROLOGUE;
|
||||
|
||||
|
Reference in New Issue
Block a user