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

Don't cache mainfiles, just set modtime #173

Merged
merged 4 commits into from
Sep 19, 2018
Merged

Don't cache mainfiles, just set modtime #173

merged 4 commits into from
Sep 19, 2018

Conversation

natefinch
Copy link
Member

So the whole caching mainfiles thing is silly... if we want an old modtime, just set an old modtime.

@natefinch
Copy link
Member Author

Hmm looks like go 1.7 doesn't like chtime...

@natefinch
Copy link
Member Author

Evidently os.Chtimes in go 1.7 didn't like low dates... my guess is earlier than the unix epoch. Anyway... we don't need to go that crazy, setting the modtime to 10 years ago is probably sufficient ;)

@natefinch natefinch merged commit 8c5bce8 into master Sep 19, 2018
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