MCPcopy Create free account
hub / github.com/coder/envbuilder / OpenFile

Method OpenFile

internal/ebutil/remount.go:170–170  ·  view source on GitHub ↗

OpenFile wraps os.OpenFile

(string, int, os.FileMode)

Source from the content-addressed store, hash-verified

168 MkdirAll(string, os.FileMode) error
169 // OpenFile wraps os.OpenFile
170 OpenFile(string, int, os.FileMode) (*os.File, error)
171 // Mount wraps syscall.Mount
172 Mount(string, string, string, uintptr, string) error
173 // Unmount wraps syscall.Unmount

Callers 12

runFunction · 0.65
RunCacheProbeFunction · 0.65
copyFileFunction · 0.65
writeFileFunction · 0.65
writeMagicImageFileFunction · 0.65
CompileMethod · 0.65
TestCompileDevContainerFunction · 0.65
mustReadFunction · 0.65
Test_tempRemountFunction · 0.65
remountFunction · 0.65
OpenFileMethod · 0.65
WriteFileFunction · 0.65

Implementers 3

Mockmounterinternal/ebutil/mock_mounter_test.go
MockmounterMockRecorderinternal/ebutil/mock_mounter_test.go
realMounterinternal/ebutil/remount.go

Calls

no outgoing calls

Tested by 3

TestCompileDevContainerFunction · 0.52
mustReadFunction · 0.52
Test_tempRemountFunction · 0.52