Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
19
func
newTestFs(base afero.Fs) *testFs {
20
return
&testFs{
21
Fs: base,
22
}
23
}
24
25
func
(*testFs) Open(name string) (afero.File, error) {
26
return
nil, os.ErrPermission
Callers
1
TestListFilesPermissionDenied
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected