Documentation
¶
Overview ¶
Package crt implements common runtime for colexec. Utilities, IO, and other common functions.
Index ¶
- func GetCompressType(compressType string, filepath string) string
- func GetIOReadCloser(proc *process.Process, param *tree.ExternParam, data string, ...) (io.ReadCloser, error)
- func GetIOReadCloserSimple(proc *process.Process, inline bool, data string) (io.ReadCloser, error)
- func GetUnCompressReader(proc *process.Process, compType string, filepath string, r io.ReadCloser) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCompressType ¶
func GetIOReadCloser ¶
func GetIOReadCloser(proc *process.Process, param *tree.ExternParam, data string, fileOffsets []int64, fileSizeMax int64) (io.ReadCloser, error)
func GetIOReadCloserSimple ¶
GetIOReadCloserSimple is a simple function to get an io.ReadCloser from a string. We construct an ExternParam that has only info related to reader.
func GetUnCompressReader ¶
func GetUnCompressReader(proc *process.Process, compType string, filepath string, r io.ReadCloser) (io.ReadCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.