overlay @main -
refs -
log -
-
https://git.jolheiser.com/overlay.git
Signature
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY
oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQNHyx7DB+byV0di9a1qMyupF0GiZVSxDyqH9mjvf8SHKUr8bQDyNaUX6XozWAzjQSZ
Mq5gGohQKGIu71FAhKDQk=
-----END SSH SIGNATURE-----
diff --git a/overlay.go b/overlay.go
index 2c14fc35805bfe0b128a2d164e5beaafb71e28f2..886386732ca91903dfa04b62367d18f4125771e5 100644
--- a/overlay.go
+++ b/overlay.go
@@ -68,9 +68,10 @@
// New returns a new FS
func New(root string, fs fs.FS, opts ...Option) (*FS, error) {
x := &FS{
- fs: fs,
+ fs: fs,
- root: root,
+ root: root,
+ doCache: true,
- cache: make(map[string]bool),
+ cache: make(map[string]bool),
}
for _, opt := range opts {