fileutils_test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoOpReadCloser

type NoOpReadCloser struct{}

NoOpReadCloser implements the io.ReadCloser interface but does not perform any operations.

func NewNoOpReadCloser

func NewNoOpReadCloser() *NoOpReadCloser

NewNoOpReadCloser creates a new instance of NoOpReadCloser.

func (*NoOpReadCloser) Close

func (m *NoOpReadCloser) Close() error

Close returns nil, simulating a no-op close operation.

func (*NoOpReadCloser) Read

func (m *NoOpReadCloser) Read(p []byte) (n int, err error)

Read returns 0 bytes read and no error, simulating a no-op read operation.

Jump to

Keyboard shortcuts

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