From 6e3abf388e40fdca84798e79d7913733d2c61b52 Mon Sep 17 00:00:00 2001 From: a Date: Sun, 21 Jul 2024 13:29:04 -0500 Subject: [PATCH] unwrap --- internal/filesystems/map.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/filesystems/map.go b/internal/filesystems/map.go index e795ed1f..1e693d46 100644 --- a/internal/filesystems/map.go +++ b/internal/filesystems/map.go @@ -18,6 +18,10 @@ type wrapperFs struct { fs.FS } +func (w *wrapperFs) Unwrap() fs.FS { + return w.FS +} + // FilesystemMap stores a map of filesystems // the empty key will be overwritten to be the default key // it includes a default filesystem, based off the os fs