Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ ReadDir
Method
ReadDir
coderd/files/overlay.go:45–47 ·
view source on GitHub ↗
(p string)
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(f overlayFS) ReadDir(p string) ([]fs.DirEntry, error) {
46
return
fs.ReadDir(f.target(p), p)
47
}
48
49
func
(f overlayFS) ReadFile(p string) ([]byte, error) {
50
return
fs.ReadFile(f.target(p), p)
Callers
15
applyMigrationsInTxn
Function · 0.80
calculateMigrationsHash
Function · 0.80
TestCompressorHeadings
Function · 0.80
dirHasExt
Function · 0.80
TestStaleSessions
Function · 0.80
CleanStaleSessions
Method · 0.80
DiscoverVarsFiles
Function · 0.80
dirSum
Function · 0.80
TestTemplatePull_ToDir
Function · 0.80
TestTemplatePull_FolderConflict
Function · 0.80
TestVSCodeSSH
Function · 0.80
TestTemplateInit
Function · 0.80
Calls
1
target
Method · 0.95
Tested by
15
applyMigrationsInTxn
Function · 0.64
TestCompressorHeadings
Function · 0.64
TestStaleSessions
Function · 0.64
dirSum
Function · 0.64
TestTemplatePull_ToDir
Function · 0.64
TestTemplatePull_FolderConflict
Function · 0.64
TestVSCodeSSH
Function · 0.64
TestTemplateInit
Function · 0.64
TestSSH
Function · 0.64
TestSSH_CoderConnect
Function · 0.64
TestSVGIconAttributes
Function · 0.64
TestGeneration
Function · 0.64