mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-04 01:53:09 +03:00
unwrap
This commit is contained in:
parent
e94663b866
commit
6e3abf388e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue