Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIpcFilenameToCnt error = errors.New("unable to get the num records of the file")
Functions ¶
Types ¶
type FilenameReader ¶
var FilenameReaderStdin FilenameReader = FilenameReader{Reader: os.Stdin}
func (FilenameReader) ToFilenames ¶
func (r FilenameReader) ToFilenames() iter.Seq[string]
func (FilenameReader) ToTotalNumRecords ¶
func (r FilenameReader) ToTotalNumRecords(opts ...ai.Option) (int, error)
type IpcFileLike ¶
type IpcFileLike struct{ ai.ReadAtSeeker }
func (IpcFileLike) ToNumRecords ¶
func (f IpcFileLike) ToNumRecords(opts ...ai.Option) (int, error)
func (IpcFileLike) ToReader ¶
func (f IpcFileLike) ToReader(opts ...ai.Option) (IpcFileReader, error)
type IpcFileName ¶
type IpcFileName string
func (IpcFileName) ToNumRecords ¶
func (n IpcFileName) ToNumRecords(opts ...ai.Option) (int, error)
type IpcFileReadOpts ¶
var IpcFileReadOptsEmpty IpcFileReadOpts
func (IpcFileReadOpts) FilenamesToTotalCount ¶
func (o IpcFileReadOpts) FilenamesToTotalCount(i FilenameReader) (int, error)
func (IpcFileReadOpts) StdinToNamesToTotalCount ¶
func (o IpcFileReadOpts) StdinToNamesToTotalCount() (int, error)
type IpcFileReader ¶
type IpcFileReader struct{ *ai.FileReader }
func (IpcFileReader) Close ¶
func (f IpcFileReader) Close() error
func (IpcFileReader) NumRecords ¶
func (f IpcFileReader) NumRecords() int
type IpcFilenames ¶
func (IpcFilenames) ToTotalNumRecords ¶
func (i IpcFilenames) ToTotalNumRecords(opts ...ai.Option) (int, error)
Click to show internal directories.
Click to hide internal directories.