Documentation ¶
Overview ¶
Package staticmodtimefs provides a wrapper around an existing filesystem where the ModTime function of a given fs.File implementation will always return a constant value.
Overriding the default ModTime implementation is mainly useful with embedded and other filesystems which do not support native modification times.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStaticModTimeFS ¶
NewStaticModTimeFS creates a wrapper filesystem around an existing fs.FS or fs.ReadDirFS implementation where any modification times returned are always of the provided constant value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.