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

Function newTestFs

agent/agentfiles/ls_internal_test.go:19–23  ·  view source on GitHub ↗
(base afero.Fs)

Source from the content-addressed store, hash-verified

17}
18
19func newTestFs(base afero.Fs) *testFs {
20 return &testFs{
21 Fs: base,
22 }
23}
24
25func (*testFs) Open(name string) (afero.File, error) {
26 return nil, os.ErrPermission

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected