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

Function NewFileStream

utils/stream/file_stream.go:46–51  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

44}
45
46func NewFileStream(path string) *FileStream {
47 return &FileStream{
48 name: filepath.Base(path),
49 path: path,
50 }
51}

Callers 8

runTestsMethod · 0.92
publishMethod · 0.92
convertToBinaryMethod · 0.92
fileInputMethod · 0.92
TestFileStreamNameFunction · 0.85
TestFileStreamSizeFunction · 0.85
TestFileStreamDataFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestFileStreamNameFunction · 0.68
TestFileStreamSizeFunction · 0.68
TestFileStreamDataFunction · 0.68