spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.8k stars 498 forks source link

add modTime on folder creation #334

Closed KastenMike closed 2 years ago

KastenMike commented 2 years ago

NewOsFs behaviour for CreateDir includes modTime on both Mac + Linux. NewOsFs behaviour for renaming directories does not update modTime.

This makes NewMemMapFs have the same behaviour rather than a time of 0001-01-01 00:00:00 +0000 UTC

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.