MCPcopy Create free account
hub / github.com/UiPath/uipathcli / Close

Method Close

utils/network/resettable_reader.go:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (r *resettableReader) Close() error {
46 closer, ok := r.reader.(io.Closer)
47 if ok {
48 return closer.Close()
49 }
50 return nil
51}
52
53func newResettableReader(reader io.Reader, bufferLimit int64, onFinishCallback func([]byte)) *resettableReader {
54 return &resettableReader{

Callers 15

TestMainCallsServiceFunction · 0.80
captureOutputFunction · 0.80
ExtractMethod · 0.80
extractFileMethod · 0.80
ExtractMethod · 0.80
extractFileMethod · 0.80
downloadMethod · 0.80
ExecuteAndWaitMethod · 0.80
readProjectJsonMethod · 0.80
WriteMethod · 0.80
ReadNuspecMethod · 0.80
readNuspecMethod · 0.80

Calls

no outgoing calls

Tested by 13

TestMainCallsServiceFunction · 0.64
captureOutputFunction · 0.64
TestPublishLargeFileFunction · 0.64
TestUploadSuccessfullyFunction · 0.64
TestUploadLargeFileFunction · 0.64
TestDownloadSuccessfullyFunction · 0.64
TestDownloadLargeFileFunction · 0.64
TestFileStreamDataFunction · 0.64
performLoginFunction · 0.64