Add support for 'WithModificationTIme()' option
Open
enhancement
help wanted
- Dominant language
- Go
- Stars
- 679
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
In some situations I need to set modification time for the new file.
Having an Option `WithPermissions`
```go
func WithModificationTime(time time.Time) Option {
return optionFunc(func(cfg *config) {
cfg.modTime = &time
})
}
```
that takes provided `time` into account and updates the resulting file would make it possible.
Contributor guide
Assessment
This issue has not been assessed yet.