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

Method Close

git/git.go:383–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381}
382
383func (w *progressWriter) Close() error {
384 err := w.WriteCloser.Close()
385 <-w.done
386 err2 := w.r.Close()
387 if err != nil {
388 return err
389 }
390 return err2
391}
392
393func ProgressWriter(write func(line string, args ...any)) io.WriteCloser {
394 reader, writer := io.Pipe()

Callers 15

runFunction · 0.80
RunCacheProbeFunction · 0.80
createPostStartScriptFunction · 0.80
readFileFunction · 0.80
copyFileFunction · 0.80
writeFileFunction · 0.80
writeMagicImageFileFunction · 0.80
parseMagicImageFileFunction · 0.80
serveLocalRegistryFunction · 0.80
TestLogsFunction · 0.80
TestBuildStopStartCachedFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestLogsFunction · 0.64
TestBuildStopStartCachedFunction · 0.64
TestPushImageFunction · 0.64
TestMainFunction · 0.64
checkTestRegistryFunction · 0.64
cleanOldEnvbuildersFunction · 0.64
getCachedImageFunction · 0.64
startContainerFromRefFunction · 0.64
runEnvbuilderFunction · 0.64
execContainerFunction · 0.64
streamContainerLogsFunction · 0.64