crt

package
v0.0.0-debug-20260702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package crt implements common runtime for colexec. Utilities, IO, and other common functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompressType

func GetCompressType(compressType string, filepath string) string

func GetIOReadCloser

func GetIOReadCloser(proc *process.Process, param *tree.ExternParam, data string,
	fileOffsets []int64, fileSizeMax int64) (io.ReadCloser, error)

func GetIOReadCloserSimple

func GetIOReadCloserSimple(proc *process.Process, inline bool, data string) (io.ReadCloser, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL