MCPcopy
hub / github.com/docker/compose / NewFile

Method NewFile

pkg/watch/temp_dir_fixture.go:170–172  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

168}
169
170func (f *TempDirFixture) NewFile(prefix string) (*os.File, error) {
171 return os.CreateTemp(f.dir.Path(), prefix)
172}
173
174func (f *TempDirFixture) TempDir(prefix string) string {
175 name, err := os.MkdirTemp(f.dir.Path(), prefix)

Callers

nothing calls this directly

Calls 1

PathMethod · 0.45

Tested by

no test coverage detected