Open mmmarcos opened 2 weeks ago
The ctime (Change time) timestamp is not consistent between platforms:
ctime
On Windows, it is set to the updated time (OK) https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/windows/filesystem.rs#L89
updated
On Linux, it is sometimes set to the created time (NOK): https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L52 https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L81 https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L105
created
The
ctime
(Change time) timestamp is not consistent between platforms:On Windows, it is set to the
updated
time (OK) https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/windows/filesystem.rs#L89On Linux, it is sometimes set to the
created
time (NOK): https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L52 https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L81 https://github.com/Scille/parsec-cloud/blob/7059f9bd1b98aefc234a7b2c704236b0fddd17a2/libparsec/crates/platform_mountpoint/src/unix/filesystem.rs#L105