Skip to content

get_times#2370

Closed
AmeliaYeah wants to merge 0 commit into
spellshift:mainfrom
AmeliaYeah:main
Closed

get_times#2370
AmeliaYeah wants to merge 0 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.

@AmeliaYeah
AmeliaYeah force-pushed the main branch 2 times, most recently from ad357c8 to c3457eb Compare June 15, 2026 22:26
@AmeliaYeah
AmeliaYeah force-pushed the main branch 2 times, most recently from dce447d to 39cfb8c Compare June 28, 2026 12:40
@AmeliaYeah AmeliaYeah closed this Jun 28, 2026
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