MCPcopy 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
45func (f overlayFS) ReadDir(p string) ([]fs.DirEntry, error) {
46 return fs.ReadDir(f.target(p), p)
47}
48
49func (f overlayFS) ReadFile(p string) ([]byte, error) {
50 return fs.ReadFile(f.target(p), p)

Callers 15

applyMigrationsInTxnFunction · 0.80
calculateMigrationsHashFunction · 0.80
TestCompressorHeadingsFunction · 0.80
dirHasExtFunction · 0.80
TestStaleSessionsFunction · 0.80
CleanStaleSessionsMethod · 0.80
DiscoverVarsFilesFunction · 0.80
dirSumFunction · 0.80
TestTemplatePull_ToDirFunction · 0.80
TestVSCodeSSHFunction · 0.80
TestTemplateInitFunction · 0.80

Calls 1

targetMethod · 0.95

Tested by 15

applyMigrationsInTxnFunction · 0.64
TestCompressorHeadingsFunction · 0.64
TestStaleSessionsFunction · 0.64
dirSumFunction · 0.64
TestTemplatePull_ToDirFunction · 0.64
TestVSCodeSSHFunction · 0.64
TestTemplateInitFunction · 0.64
TestSSHFunction · 0.64
TestSSH_CoderConnectFunction · 0.64
TestSVGIconAttributesFunction · 0.64
TestGenerationFunction · 0.64