MCPcopy Index your code
hub / github.com/cloudfoundry/multiapps-cli-plugin / openSingleFile

Function openSingleFile

util/file_splitter.go:77–80  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

75}
76
77func openSingleFile(path string) ([]*os.File, error) {
78 f, err := os.Open(path)
79 return []*os.File{f}, err
80}
81
82// ValidateChunkSize validate the chunk size
83func ValidateChunkSize(filePath string, fileChunkSizeInMB uint64) error {

Callers 1

SplitFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected