MCPcopy Index your code
hub / github.com/VirusTotal/vt-cli / NewStringArrayReader

Function NewStringArrayReader

utils/string_reader.go:39–41  ·  view source on GitHub ↗

NewStringArrayReader creates a new StringArrayReader.

(strings []string)

Source from the content-addressed store, hash-verified

37
38// NewStringArrayReader creates a new StringArrayReader.
39func NewStringArrayReader(strings []string) *StringArrayReader {
40 return &StringArrayReader{strings: strings}
41}
42
43// ReadString reads one string from StringArrayReader. When all strings have
44// been returned ReadString returns an io.EOF error.

Callers 6

NewScanFileCmdFunction · 0.92
NewScanURLCmdFunction · 0.92
NewDownloadCmdFunction · 0.92
StringReaderFromCmdArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected