opendal icon indicating copy to clipboard operation
opendal copied to clipboard

Why can't the metadata of a directory include the last modified time?

Open cammette opened this issue 1 year ago • 2 comments

When using some file systems, such as local file systems, the metadata of directories generally includes the last modified time. However, in the list of entries traversed by opendal, if the entry is a directory, its last modified time is None. If I want to obtain the last modified time of a directory, how should I do it?

cammette avatar Jun 17 '24 07:06 cammette

related to https://github.com/apache/opendal/issues/4615

Your point is correct; we do need to ensure the metadata for directories is accurately filled whenever possible. Let's address this in the next release.

Xuanwo avatar Jun 17 '24 09:06 Xuanwo

I'd like to have a try.

CrystalAnalyst avatar Jun 27 '24 17:06 CrystalAnalyst