MCPcopy Create free account
hub / github.com/devld/go-drive / Close

Method Close

script/object_io.go:203–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203func (tf TempFile) Close() {
204 tf.vm.RemoveDisposable(tf)
205 if e := tf.close(); e != nil {
206 tf.vm.ThrowError(e)
207 }
208}
209
210type tempFileCloser struct {
211 io.Reader

Callers 2

chunkUploadCompleteMethod · 0.95
CloseMethod · 0.95

Calls 3

closeMethod · 0.95
RemoveDisposableMethod · 0.80
ThrowErrorMethod · 0.80

Tested by

no test coverage detected