Versions in this module Expand all Collapse all v0 v0.1.1 Jan 15, 2026 v0.1.0 Jan 15, 2026 Changes in this version + const DefaultCacheTTL + const DefaultInotifyDebounce + const DefaultRecheckInterval + type CachedFS struct + func New(root string, opts ...Option) (*CachedFS, error) + func (c *CachedFS) Close() error + func (c *CachedFS) ForceRecheck() + func (c *CachedFS) Open(name string) (fs.File, error) + func (c *CachedFS) Sub(dir string) (fs.FS, error) + type FSNotifyWatcher struct + func (w *FSNotifyWatcher) Close() error + type Option func(*CachedFS) + func WithCacheTTL(ttl time.Duration) Option + func WithFSNotify() Option + func WithInotifyDebounce(debounce time.Duration) Option + func WithRecheckInterval(interval time.Duration) Option + func WithoutSIGHUP() Option