Skip to content

get_times#2370

Open
AmeliaYeah wants to merge 1 commit into
spellshift:mainfrom
AmeliaYeah:main
Open

get_times#2370
AmeliaYeah wants to merge 1 commit into
spellshift:mainfrom
AmeliaYeah:main

Conversation

@AmeliaYeah

@AmeliaYeah AmeliaYeah commented Jun 14, 2026

Copy link
Copy Markdown

What type of PR is this?

Feature
Eldritch-Function

What this PR does / why we need it:

While this does somewhat exist in the file.list API call (in regards to obtaining the stringified version of modified time), this is a bit of a hacky approach, and also doesn't work with directories. This API call is designed to be an easier way to obtain the time metadata of a file (aswell as beyond just the mtime).

My specific personal motivation was in regard to timestomping a file to it's metadata BEFORE writing to such file, but I'm sure there are multitudes of other use cases for this API call.

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

Successfully merging this pull request may close these issues.

1 participant