Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return value format of epath.Path.stat() does not match pathlib.Path.stat() #630

Open
Tracked by #21822
ayaka14732 opened this issue Jun 12, 2024 · 0 comments
Open
Tracked by #21822

Comments

@ayaka14732
Copy link
Member

Format of epath.Path.stat():

https://github.com/google/etils/blob/v1.9.2/etils/epath/stat_utils.py#L21-L39

Format of pathlib.Path.stat():

https://docs.python.org/3/library/os.html#os.stat_result

Apart from the attribute name differences, the attribute that I am currently interested in is pathlib.Path.stat().st_mtime_ns, which represents mtime in nanoseconds. However, epath.Path.stat() does not return this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant