MCPcopy Index your code
hub / github.com/coder/coder / NewOverlayFS

Function NewOverlayFS

coderd/files/overlay.go:23–28  ·  view source on GitHub ↗
(baseFS fs.FS, overlays []Overlay)

Source from the content-addressed store, hash-verified

21}
22
23func NewOverlayFS(baseFS fs.FS, overlays []Overlay) fs.FS {
24 return overlayFS{
25 baseFS: baseFS,
26 overlays: overlays,
27 }
28}
29
30func (f overlayFS) target(p string) fs.FS {
31 target := f.baseFS

Callers 2

TestOverlayFSFunction · 0.92
dynamicRendererMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestOverlayFSFunction · 0.74