IsNoOpFS reports whether the given "fileSystem" is a no operation fs.
(fileSystem fs.FS)
| 43 | |
| 44 | // IsNoOpFS reports whether the given "fileSystem" is a no operation fs. |
| 45 | func IsNoOpFS(fileSystem fs.FS) bool { |
| 46 | _, ok := fileSystem.(noOpFS) |
| 47 | return ok |
| 48 | } |
| 49 | |
| 50 | type httpFS struct { |
| 51 | fs http.FileSystem |