Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

bug(prune): handle OSes on whom fs.stats hasn't birthTime #13

Merged
merged 1 commit into from
Feb 18, 2016

Conversation

Yvem
Copy link
Contributor

@Yvem Yvem commented Feb 18, 2016

The new prune command uses fs.stats.birthtime

OSes don't all have birthtime (nodejs/node#2222)

Add a fallback to mtime in this case http://www.linux-faqs.info/general/difference-between-mtime-ctime-and-atime

@vvo
Copy link
Owner

vvo commented Feb 18, 2016

I think you are already a collaborator under the offirmo github account, add yourself here and on npm if needed :)

@vvo
Copy link
Owner

vvo commented Feb 18, 2016

LGTM

@Offirmo
Copy link
Collaborator

Offirmo commented Feb 18, 2016

@vvo sure. But reviews are welcome anyway !

Offirmo added a commit that referenced this pull request Feb 18, 2016
bug(prune): handle OSes on whom fs.stats hasn't birthTime
@Offirmo Offirmo merged commit 6f4e7b2 into vvo:master Feb 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants