For File storage UI, we need to display file timestamps. Now there are difficulties with displaying time stamps in UI due to in the file storage contract we don’t save the time stamp field and don’t emit this event.
Solution:
Emit event in all functions which modify the state:
createFile
createDirectory
deleteFile
...
For File storage UI, we need to display file timestamps. Now there are difficulties with displaying time stamps in UI due to in the file storage contract we don’t save the time stamp field and don’t emit this event.
Solution:
Emit event in all functions which modify the state:
createFile
createDirectory
deleteFile
...