ioiter

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

ioiter defines iterator source/collector that corresponds to std library `io/*`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Readdir

func Readdir[R interface {
	Readdir(n int) ([]fs.FileInfo, error)
}](r R) iter.Seq2[fs.FileInfo, error]

Readdir returns an iterator over dirents of a file-like object. On io.EOF the iterator stops without yielding the error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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