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

Method OpenFile

internal/ebutil/mock_mounter_test.go:104–110  ·  view source on GitHub ↗

OpenFile mocks base method.

(arg0 string, arg1 int, arg2 os.FileMode)

Source from the content-addressed store, hash-verified

102
103// OpenFile mocks base method.
104func (m *Mockmounter) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (*os.File, error) {
105 m.ctrl.T.Helper()
106 ret := m.ctrl.Call(m, "OpenFile", arg0, arg1, arg2)
107 ret0, _ := ret[0].(*os.File)
108 ret1, _ := ret[1].(error)
109 return ret0, ret1
110}
111
112// OpenFile indicates an expected call of OpenFile.
113func (mr *MockmounterMockRecorder) OpenFile(arg0, arg1, arg2 any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected